Unfortunately I have to report that both versions of bash don't implement the igncr setting if commands are read from a sourced file.
For example, I have /etc/profile set up to issue shopt -s igncr # as the first line (or set -o igncr; export SHELLOPTS # for version 3.2.4) If I do unix2dos /etc/profile the command source /etc/profile produces a series of error messages, indicating that <cr> characters are not being ignored. If I issue the file as a script, e.g. bash /etc/profile there are no errors. -- 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/