Dup Ver Goto 📝

Get Cygwin Bash to Treat CRLF as LF

PT2/lang/bash/cygwin bash cygwin crlf does not exist
To
16 lines, 63 words, 381 chars Page 'CrlfIssue' does not exist.

Ignore CRLF '\r' thing

If you get errors like

bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: eval: line 12: syntax error near unexpected token `$'{\r''
'ash: eval: line 12: `__add_sys_prefix_to_path() {
bash: $'\r': command not found
bash: $'\r': command not found

You need to:

export SHELLOPTS
set -o igncr