Skip to content

Instantly share code, notes, and snippets.

@simahawk
Created March 6, 2017 10:29
Show Gist options
  • Save simahawk/fc0aad952643108cf973c93d64bd449c to your computer and use it in GitHub Desktop.
Save simahawk/fc0aad952643108cf973c93d64bd449c to your computer and use it in GitHub Desktop.
replace Windows carriage return "^M"
sudo apt-get install dos2unix
dos2unix -n path/to/file path/to/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment