Saturday, June 19, 2010

Remove Non Printable Characters with sed

Took a while to find this and the exact syntax but here its, removing all non ascii chars.
$ sed 's/[^ -~]//g' < B2.java > BeanUtils.java 

No comments:

Post a Comment