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