delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/18/22:26:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <3.0.5.32.20021018221612.00817100@h00207811519c.ne.client2.attbi.com>
X-Sender: pierre AT h00207811519c DOT ne DOT client2 DOT attbi DOT com
Date: Fri, 18 Oct 2002 22:16:12 -0400
To: cygwin AT cygwin DOT com, cbfalconer AT worldnet DOT att DOT net
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: <crlf> vs <lf> and use of diff
In-Reply-To: <Pine.GSO.4.44.0210182157480.6818-100000@slinky.cs.nyu.edu>
References: <3DB0B48A DOT CCCE6B8A AT yahoo DOT com>
Mime-Version: 1.0

On Fri, 18 Oct 2002, CBFalconer wrote:
> I have some makefiles used with DJGPP which perform regression and
> portability tests on my software.  They check things by doing a
> run and then executing "diff -q" between the captured run and a
> saved version.
>
> They don't work.  The saved versions have <crlf> line endings, and
> the newly created files have <lf> endings.  I thought that diff
> ignored these differences as long as the files were not binary (no
> <nul>s).  The -a option makes no difference.  I don't want to
> revise the saved files because that would foul their utility
> elsewhere.

diff --help

  --strip-trailing-cr  Strip trailing carriage return on input.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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