Re: IFS not fixing carriage returns

2011-05-26 Thread Luke Kendall
Eric Blake redhat.com> writes: > > On 03/25/2011 10:35 AM, Tim McDaniel wrote: > > Although it's not documented in "man bash" on the latest Cygwin, I did > > find "set -o igncr" and it seems to work well. > > I documented it in the cygwin bash release notes, so it is in > /usr/share/doc/Cygwin/

Re: IFS not fixing carriage returns

2011-03-25 Thread Eric Blake
On 03/25/2011 10:35 AM, Tim McDaniel wrote: > Although it's not documented in "man bash" on the latest Cygwin, I did > find "set -o igncr" and it seems to work well. I documented it in the cygwin bash release notes, so it is in /usr/share/doc/Cygwin/bash.README. Patches welcome if you want to see

Re: IFS not fixing carriage returns

2011-03-25 Thread Illia Bobyr
On 3/25/2011 11:35 AM, Tim McDaniel wrote: > > I have tried Googling for info on this, but there are a lot of false > hits ... > > [...] > > Although it's not documented in "man bash" on the latest Cygwin, I did > find "set -o igncr" and it seems to work well. > > But I'm just curious about why my

IFS not fixing carriage returns

2011-03-25 Thread Tim McDaniel
I have tried Googling for info on this, but there are a lot of false hits ... I want to run bash scripts on a Cygwin-running system. The problem is that (so far as I know) I cannot control the format of the scripts -- Rational Build Forge writes each line of the script with a trailing carriage r