On Tuesday, 08.01.2008 at 16:33 +0100, Adeodato Simó wrote: > % diff foo bar | /usr/bin/colordiff -u > diff: missing operand after `-u' > diff: Try `diff --help' for more information.
That is how *diff* behaves, i.e. $ diff foo bar | /usr/bin/diff -u /usr/bin/diff: missing operand after `-u' /usr/bin/diff: Try `/usr/bin/diff --help' for more information. colordiff behaves like diff most of the time and is inheriting diff's behaviour in this case. You can't usually pipe stuff to *diff* in that way: the fact that you can normally pipe diff-like output to colordiff (without parameters) is a deliberate feature of *colordiff*. Are you perhaps suggesting that it should detect the extra parameter '-u' and ignore it when working as a pipe? Dave. -- Dave Ewart [EMAIL PROTECTED], jabber:[EMAIL PROTECTED], freenode:davee All email from me is now digitally signed, http://www.sungate.co.uk/ Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
signature.asc
Description: Digital signature

