Skip to content

Instantly share code, notes, and snippets.

@AaronFoltz
Created August 28, 2011 12:50
Show Gist options
  • Save AaronFoltz/1176632 to your computer and use it in GitHub Desktop.
Save AaronFoltz/1176632 to your computer and use it in GitHub Desktop.
/bin/sh^M: bad interpreter: No such file or directory
find . -type f -exec perl -pi -e 's/\r\n?/\n/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment