Skip to content

Instantly share code, notes, and snippets.

@pwittchen
Created November 6, 2014 08:10
Show Gist options
  • Save pwittchen/c4cc4d977074cdcffe0e to your computer and use it in GitHub Desktop.
Save pwittchen/c4cc4d977074cdcffe0e to your computer and use it in GitHub Desktop.
How to convert Windows line endings to Unix
# http://stackoverflow.com/a/19283453
# run the following command in the terminal
sed -i 's/\r//g' file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment