This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash 3.1.18 seems seriously broken


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]