delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/01/13:52:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArQLANqpAE+cKEcV/2dsb2JhbABDggWqUYEFgXIBAQEEEihPAgEIDScCEB8TJQEBBBsaoRuaMIssYwSIN4Q7jX+MYw
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Date: Sun, 1 Jan 2012 13:52:31 -0500
Subject: RE: CRLF
Message-ID: <0105D5C1E0353146B1B222348B0411A20A43ADEDE9@NIHMLBX02.nih.gov>
References: <jdmp00$dso$1 AT dough DOT gmane DOT org> <jdna2f$cqu$1 AT dough DOT gmane DOT org> <CAGHJv4cccBsX3=Mw3CykKXbyqZctONt0hUf6mUO_52RxsGXW=g AT mail DOT gmail DOT com> <CAGHJv4e2=c6Vm6Lu0W78rR1zVx7w1N_Ajs5Py+nfDnX1oRiCdg AT mail DOT gmail DOT com> <Pine DOT BSM DOT 4 DOT 64L DOT 1112311952120 DOT 14351 AT herc DOT mirbsd DOT org> <CAGHJv4fgtM+QCFnrGb0pD-FT5A3R0hwOV8uF+4C_xEmtr_+dzQ AT mail DOT gmail DOT com>
In-Reply-To: <CAGHJv4fgtM+QCFnrGb0pD-FT5A3R0hwOV8uF+4C_xEmtr_+dzQ@mail.gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q01IqqDh016660

Thorsten Glaser wrote on 31 December 2011 15:00
>tr -d \\r would work, too (but also strip CR in the middle).

sed -e 's/\r$//' preserves CRs in the midddle.

- Barry
..Disclaimer:  Statements made herein are not made on behalf of NIAID.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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