error in diff in 1.2_STABLE processing arguments

Yury Tarasievich grog at
Fri Aug 26 03:13:58 PDT 2005

diff doesn't tolerate second filename being ``-''  (or rather it is about line 
ending in ``-'').

If f1 and f2 are files,

cat f2 | diff - f1
  is fine 

cat f2 | diff f1 -
 gives (unexpected) error.


More information about the Bugs mailing list