Hello,
I am running GNU Bash 3.2.9(11) on a PC with Vista and using Cygwin.
For the most part everything works well. I was installing some software that
came with bash installation scripts. I discovered the script failed on an
statement "case $ARGV in" with syntax error of unexpected token 'in'.
I discovered the problem was that the script file was in Dos format with the LF
and CR at the end of the line. When I removed the CR (using dos2unix), the
script worked fine. I use lots of Bash scripts in Dos format with no problems.
It appears that it is only a problem for the "case" statement.
Is there a newer version of Bash that does not have this problem?
Thanks,
Larry