Skip to content

Instantly share code, notes, and snippets.

@ricalo
Created December 11, 2015 19:06
Show Gist options
  • Save ricalo/4aabeb31d43f5097036b to your computer and use it in GitHub Desktop.
Save ricalo/4aabeb31d43f5097036b to your computer and use it in GitHub Desktop.
Solve $'\r': command not found error when running a script on Cygwin for Windows without altering the source file
bash -o igncr <script_file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment