Aha, if you use Cygwin and you have a version control system that keeps adding \r\n in your Bash scripts, you can work around via these .bashrc lines:
export SHELLOPTS
set -o igncr
Inelegant, but so much easier than fighting with the VCS.
Aha, if you use Cygwin and you have a version control system that keeps adding \r\n in your Bash scripts, you can work around via these .bashrc lines:
export SHELLOPTS
set -o igncr
Inelegant, but so much easier than fighting with the VCS.