delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/28/23:31:36

X-Spam-Check-By: sourceware.org
Message-ID: <451C93A0.7090203@byu.net>
Date: Thu, 28 Sep 2006 21:31:44 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, lbreyer AT cs DOT ucsd DOT edu
Subject: Re: bash 3.1.18 seems seriously broken
References: <451AEBAE DOT 6000703 AT cs DOT ucsd DOT edu> <451B1F43 DOT 1030400 AT byu DOT net>
In-Reply-To: <451B1F43.1030400@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

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

According to Eric Blake on 9/27/2006 7:02 PM:
> change the script to ignore whitespace (make the first non-comment line
> set IFS appropriately, as in this snippet:
> IFS=' ''	''
> '

I retract this third suggestion.  On investigation of the bash source,
bash still treats \r as a non-IFS-whitespace, so while it has some effect,
it is not a complete way to ignore \r\n line endings.

I may still be able to add a cygwin-specific shopt for this, but recommend
a text mount in the meantime if you are forced to use \r\n endings.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHJOe84KuGfSFAYARAoSbAKCDfJWh6V5Pt+eMr8FJgwMQisJgEwCfcbiK
xPM7fPRvk4x1m6lZS5/hwLY=
=C8IO
-----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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019