This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: CRLF
- 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
- References: <jdmp00$dso$1@dough.gmane.org> <jdna2f$cqu$1@dough.gmane.org> <CAGHJv4cccBsX3=Mw3CykKXbyqZctONt0hUf6mUO_52RxsGXW=g@mail.gmail.com> <CAGHJv4e2=c6Vm6Lu0W78rR1zVx7w1N_Ajs5Py+nfDnX1oRiCdg@mail.gmail.com> <Pine.BSM.4.64L.1112311952120.14351@herc.mirbsd.org> <CAGHJv4fgtM+QCFnrGb0pD-FT5A3R0hwOV8uF+4C_xEmtr_+dzQ@mail.gmail.com>
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