Skip to content

Instantly share code, notes, and snippets.

@lewiswalsh
Created February 8, 2016 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewiswalsh/e0ee9b6eedce9c825274 to your computer and use it in GitHub Desktop.
Save lewiswalsh/e0ee9b6eedce9c825274 to your computer and use it in GitHub Desktop.
Strip problematic characters from files
sed -i -e 's/\r$//' <file or files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment