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] |
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.
-- Matthew My preferred shell is Christian. It's Bourne Again. (Wow, appropriate signature for $RANDOM to pick :))
-- 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] |