DragonFly BSD
DragonFly bugs List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

error in diff in 1.2_STABLE processing arguments


From: Yury Tarasievich <grog@xxxxxxx>
Date: Fri, 26 Aug 2005 13:01:26 +0300

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.

-regards




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]