Created
January 20, 2011 22:47
-
-
Save sflinter/788857 to your computer and use it in GitHub Desktop.
A simple ruby command-line script to convert DOS ending files ('\r\n') to UNIX ending ones ('\n')
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
# Convert all files (*) from DOS endings to UNIX endings, and create a back-up of each | |
ruby -i.bak -ple '' * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment