home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4806 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.3 KB

  1. Xref: sparky comp.unix.wizards:4806 comp.unix.shell:4798 comp.unix.misc:4265
  2. Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peter
  4. From: peter@ferranti.com (peter da silva)
  5. Subject: Re: The Problem with UNIX
  6. Message-ID: <id.HU3V.Y_F@ferranti.com>
  7. Organization: Xenix Support, FICC
  8. References: <1992Nov12.204710.5808@reed.edu> <1992Nov14.145943.1288@global.hacktic.nl> <1992Nov16.234721.3224@nic.csu.net>
  9. Date: Thu, 19 Nov 1992 19:30:25 GMT
  10. Lines: 17
  11.  
  12. In article <1992Nov16.234721.3224@nic.csu.net> oleg@gd. (Oleg Kibirev) writes:
  13. > Seriously, I would really appreciate a call like eprintf that accepts the same
  14. > arguments as printf but also has staff like %n for program name, %m for message,
  15. > %p for callers PID etc. This would encourage people to use more meaninfull diagnostics.
  16.  
  17. I'd rather have the opposite:
  18.  
  19.     error(severity, object, annotation);
  20.  
  21. If annotation==NULL, use errno or other implementation-defined method.
  22.  
  23. The last thing we need is more program-specific error formats.
  24. -- 
  25. Peter da Silva / 77487-5012 USA / +1 713 274 5180
  26. true(<<VV$@\\$'&O 9$O%'$LT$&$"V6"$&$<4$?'&$ #I&&?$=$<<@)24 24 scale 3 21 moveto
  27. {dup 36 eq{pop not}{dup 7 and 4 sub exch 56 and 8 div 4 sub 2 index{rlineto}{
  28. rmoveto}ifelse}ifelse}forall stroke pop showpage % Har du kramat din varg idag?
  29.