Created
January 29, 2011 03:12
-
-
Save angelo/801468 to your computer and use it in GitHub Desktop.
makes all text files use unix line endings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find . -type f -print | xargs file | grep text | cut -f1 -d: | while read i | |
do | |
flip -u $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment