GNU bug report logs -
#79407
to-file option not working any more?
Previous Next
Full log
View this message in rfc822 format
When I specify a directory with the --to-file option, and ask diff to compare multiple files with the corresponding files under the to-file directory, only the first file is diffed; a "No such file or directory" message is displayed for everything else.
Example:
$ /bin/diff -s --to-file=tmp/ 012018.pdf ben.pdf
Files 012018.pdf and tmp/012018.pdf are identical
/bin/diff: tmp/: No such file or directory
But running diff separately on the two files works:
$ /bin/diff -s --to-file=tmp/ 012018.pdf
Files 012018.pdf and tmp/012018.pdf are identical
$ /bin/diff -s --to-file=tmp/ ben.pdf
Files ben.pdf and tmp/ben.pdf are identical
I'm reasonably sure this used to work earlier as I expected, but a quick search did not find any related discussions / bug reports.
Could someone kindly confirm whether this is a bug or incorrect understanding on my part?
Many thanks,
Mandar.
This bug report was last modified 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.