delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/21/14:55:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <AB5E58B87EB73C46A38073D8F459F11335B8D2 AT dataspheresrv01> <31DDB7BE4BF41D4888D41709C476B657068AB72D AT NIHCESMLBX5 DOT nih DOT gov>
Subject: RE: Problem with the dos2unix command
Date: Sun, 21 Oct 2007 19:54:50 +0100
Message-ID: <00c301c81413$dbfa0970$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <31DDB7BE4BF41D4888D41709C476B657068AB72D@NIHCESMLBX5.nih.gov>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 20 October 2007 02:39, Buchbinder, Barry (NIH/NIAID) wrote:

> 
> For the record, shouldn't the following work?
> 
> sed -i -e 's/\r$//' file1, file2, ...

  Yes, but needs the -b flag.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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