delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/22/16:53:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Subject: Re: dos2unix or equivalent
To: john DOT doucette AT jjmackay DOT ca
Cc: cygwin AT cygwin DOT com
X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000
Message-ID: <OF9B7E1C96.3806B3B9-ON85256AB0.00726F41@ny.jpmorgan.com>
From: yap_noel AT jpmorgan DOT com
Date: Wed, 22 Aug 2001 16:51:17 -0400
X-MIMETrack: Serialize by Router on NYC_SMTPMTA_03(Release 5.0.7 |March 21, 2001) at 08/22/2001
04:52:16 PM
MIME-Version: 1.0

sed 's/^M$//'

Where ^M can be typed on the command line by using Ctrl-v,Ctrl-m.

Noel

Hi,

Is there an equivalent to the dos2unix command in cygwin?  Or is there a
fancy way with grep and/or sed to convert dos crlf files to unix cr files?

===================================
John Daniel Doucette, Sr. Software Designer

J. J. MacKay Canada Limited
Halifax R & D Office
1046 Barrington Street, 1st Floor
Halifax, Nova Scotia
Canada
B3H 2R1

Phone          902.423.7727  x222
Fax       902.422.8108
Web       www . jjmackay . ca
Email          john . doucette @ jjmackay . ca
===================================


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





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


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