Skip to content

Instantly share code, notes, and snippets.

@perrygeo
Created April 20, 2012 21:26
Show Gist options
  • Save perrygeo/2431997 to your computer and use it in GitHub Desktop.
Save perrygeo/2431997 to your computer and use it in GitHub Desktop.
Remove dos line endings recursively
# ^M is entered using Ctrl-V Ctrl-M
grep -IUrl "^M" sourcecode/* | xargs dos2unix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment