I don't know how I'd live on Windows without Cygwin. Now WSL is nice, and was a major reason I moved from Windows 7 to Windows 10. But for when I want to work with my files in Windows, rather than in a Linux VM, Cygwin is the way to go for me.
igncr
To tell cygwin to ignore \r so that CRLF doesn't cause a problem, modify c:\cygwin64\cygwin.bat thus:
@echo off
setlocal enableextensions
set TERM=
set SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:igncr:interactive-comments:monitor
cd /d "%~dp0bin" && .\bash --login -i
So that igncr is set as a shellopt. The rest were obtained by observing SHELLOPTS in
a vanilla cygwin bash.