Mail Archives: djgpp/1999/06/10/17:01:03
Hello.
Jeff Williams wrote:
<snip>
> It seems that the output produced by the `--binary' switch
> lacks a terminal \n. Can others confirm this behavior? (Interestingly,
> I do not see the problem if I redirect the output from the scripts.)
I also have seen this behaviour when comparing two directory trees:
diff -s --binary -r dir1 dir2
IIRC. It only seems to do a linefeed, no carriage return on lines like "x
and y are identical", so you get staggered lines:
x and y are identical
a and b are identical
...etc...
I haven't tried '--binary' without these switches. The output is OK after
redirection.
This is from diff from diffutils 2.7.1 - here's the file info:
-rwxrwxr-x 1 root dosusers 134656 Oct 19 1996
/mnt/dose/djgpp/bin/diff.exe*
HTH in diagnosing the problem.
--
==========================================================================
Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==========================================================================
- Raw text -