Skip to content

Instantly share code, notes, and snippets.

@cfljam
Created October 24, 2013 02:58
Show Gist options
  • Save cfljam/7130580 to your computer and use it in GitHub Desktop.
Save cfljam/7130580 to your computer and use it in GitHub Desktop.
Revealing and Removing ^M from a file in Unix
##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