delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/13/04:18:04

Date: Sun, 13 Jun 1999 11:15:23 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Dawe <richdawe AT bigfoot DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: output from diff --binary
In-Reply-To: <37600960.264A046D@bigfoot.com>
Message-ID: <Pine.SUN.3.91.990613111502.17906L@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 10 Jun 1999, Richard Dawe wrote:

> 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:

This is the expected behavior.  --binary is *designed* to work like
that, since its output must be compatible with --binary option of the
`patch' utility, and also to work correctly when you want to generate
a diff for binary files (where converting LF to CRLF would be a
disaster).

I would expect DJGPP users to not have any problems with LF-only text
files, since the DJGPP distributions have lots of them anyway.  You
aren't using some defective software like Notepad, are you?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019