delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/19/01:06:28

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: <3DB0CC0E.D9A8DF2A@yahoo.com>
Date: Fri, 18 Oct 2002 23:05:50 -0400
From: CBFalconer <cbfalconer AT yahoo DOT com>
Reply-To: cbfalconer AT worldnet DOT att DOT net
Organization: Ched Research
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: <crlf> vs <lf> and use of diff
References: <3DB0B48A DOT CCCE6B8A AT yahoo DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 20021018221612 DOT 00817100 AT h00207811519c DOT ne DOT client2 DOT attbi DOT com>

"Pierre A. Humblet" wrote:
> On Fri, 18 Oct 2002, CBFalconer wrote:
> >
... snip ...
> >
> > 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.

That works.  When I saw it before I thought it referred to MAC
line endings.

See my other reply on .com and piping anomalies.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!



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