Sender: richdawe AT bigfoot DOT com Message-ID: <37600960.264A046D@bigfoot.com> Date: Thu, 10 Jun 1999 19:52:16 +0100 From: Richard Dawe X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: output from diff --binary References: <199906091612 DOT LAA13076 AT darwin DOT sfbr DOT org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hello. Jeff Williams wrote: > 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/ ==========================================================================