X-Spam-Check-By: sourceware.org
Message-ID: <459E51AA.5020300@byu.net>
Date: Fri, 05 Jan 2007 06:24:58 -0700
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin@cygwin.com, fschmidt@gmail.com
Subject: Re: CR/LF problems after upgrade
References: <012901c730be$ac6ca7f0$0708090a@CAM.ARTIMI.COM>
In-Reply-To: <012901c730be$ac6ca7f0$0708090a@CAM.ARTIMI.COM>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Dave Korn on 1/5/2007 4:43 AM:
> On 05 January 2007 08:33, fschmidt wrote:
> 
>> After I upgraded cygwin, my scripts stopped working.  I see that this has
>> something to do with a change in how bash treats CR/LF
> 
>   It's dead simple: just use the 'd2u' program on your script files, it will
> convert the line-endings from dos to unix format and everything will be fine.
> 
>   Alternatively, there is a shell option for recent versions of bash called
> 'igncr' that persuades it to ignore CR when it finds one at the cost of a bit
> of slowdown executing scripts.  See item #4 in the recent bash release
> announcements.	

Available here:
http://cygwin.com/ml/cygwin-announce/2006-12/msg00026.html

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFnlGq84KuGfSFAYARAi2hAJ99VE8Cuxc+YUvlggGDI1BNEtTCBgCbB+qj
tCGaux9QTYDdhmbwueXUISQ=
=kFpl
-----END PGP SIGNATURE-----

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

