Created
December 11, 2014 15:08
-
-
Save trcook/e3656299f7474e9d2ae6 to your computer and use it in GitHub Desktop.
remove non-printable garbage from file
This file contains hidden or 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 -cd '\11\12\15\40-\176' < file-with-binary-chars > clean-file | |
| # from http://alvinalexander.com/blog/post/linux-unix/how-remove-non-printable-ascii-characters-file-unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment