Created
October 24, 2013 02:58
-
-
Save cfljam/7130580 to your computer and use it in GitHub Desktop.
Revealing and Removing ^M from a file in Unix
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
##To reveal non-printing characters | |
cat -v my_file | |
##To remove | |
cat my_file | col -v > new_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment