home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / utils / bug / 2288 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.1 KB  |  30 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!think.com!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!icule.UUCP!pinard
  3. From: pinard@icule.UUCP (Francois Pinard)
  4. Subject: Meaning of `diff - -' ?
  5. Message-ID: <9212302123.AA02072@icule.UUCP>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: pinard@iro.umontreal.ca
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Wed, 30 Dec 1992 21:23:21 GMT
  11. Approved: bug-gnu-utils@prep.ai.mit.edu
  12. Lines: 16
  13.  
  14. This is GNU diff 2.0, installed with GNU C 1.41 under COFF
  15. encapsulation on a 386/ix 2.0.2 system, waiting for Hurd :-).
  16.  
  17. The command `diff - -' exits right away with status 0 without reading
  18. standard input at all.  By contrast, `diff - /dev/null' reads standard
  19. input until end of file.
  20.  
  21. It is not clear from the documentation what `diff - -' really means.
  22. I would suggest that this particular case be caught and diagnosed as
  23. improper usage, and be also documented as such.
  24.  
  25. -- 
  26. Franc,ois Pinard       ``Happy GNU Year!''      pinard@iro.umontreal.ca
  27. (514) 588-4656                                   ...!uunet!iros1!pinard
  28. About the League for Programming Freedom?  Email me or lpf@uunet.uu.net
  29.  
  30.