Created
September 18, 2012 17:25
-
-
Save aaronmccall/3744454 to your computer and use it in GitHub Desktop.
command to convert \r\n to \n 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
tr '\015' '\n' < file_with_carriage_returns.txt > out && mv out file_with_carriage_returns.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment