delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/04/10:00:03

X-Spam-Check-By: sourceware.org
Date: Mon, 04 Dec 2006 09:58:43 -0500
From: "Kenneth Nellis" <knellis AT syntek-usa DOT com>
Subject: RE: bash scripting problem
In-reply-to: <4570BAB1.1050603@qualcomm.com>
To: <cygwin AT cygwin DOT com>
Message-id: <008501c717b4$c31abcd0$be32000a@idirect.net>
MIME-version: 1.0
X-Mailer: Microsoft Office Outlook 11
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

-----Original Message-----
From: Rob Walker 
Sent: Friday, December 01, 2006 6:29 PM
To: cygwin AT cygwin DOT com
Subject: Re: bash scripting problem

d2u may also corrupt "text" files that need to have CR in them.  This 
includes bash scripts that need to parse or output CR.

-----Response Message-----
I found it surprising, but verified that it is not a Cygwin issue,
that d2u (a k a dos2unix) blindly deletes all CRs. Curious why it
wouldn't only delete CRs that precede LFs, thus allowing singleton CRs.
Not a Cygwin issue per se, but one of which its users must be aware.
--Ken Nellis


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