how-to_‎ > ‎

Strip junk characters from a file

posted Jan 19, 2011, 12:37 PM by Daniele Albrizio
$ cat <oldfile> | tr -d '\340'  > <newfile>

 where \340 is the octal representation of the character (like in od -c)
Comments