I think I have found a BUG in diff (version 3.0). Steps to reproduce the bug (assuming shell is bash):
$ echo -n hello | diff <(echo -n hello) - 1d0 < hello \ No newline at end of file Expected result: no output at all (no differences). This works as expected: diff <(echo -n hello) <(echo -n hello) So the problem seems to occur only when one of the files is stdin. My machine runs Linux: $ uname -a Linux notebook 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Thanks for this software. I couldn't live without it. Bye, Luís
