GNU bug report logs - #17075
diff - - exits immediately

Previous Next

Package: diffutils;

Reported by: karl <at> freefriends.org (Karl Berry)

Date: Sun, 23 Mar 2014 21:22:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: karl <at> freefriends.org (Karl Berry)
To: eggert <at> cs.ucla.edu
Cc: 17075 <at> debbugs.gnu.org
Subject: bug#17075: [bug-diffutils] bug#17075: diff - - exits immediately
Date: Thu, 27 Mar 2014 21:40:08 GMT
    Hmm, well, in diff's defense, lots of commonly-used programs avoid 
    reading some or all their input in some cases, 

Sure.  But in most other cases, the user says something to imply the
partial read, e.g., it would actually be surprising in the other
direction if head -10 read more than 10 lines.  But head -10 - does read
stdin ... anyway, I don't argue that diff is unique in this regard, only
that in practice it comes up more and is more surprising when it does.

Thanks for the doc patch, looks good to me.

karl




This bug report was last modified 11 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.