Grep and print control characters in file
Dec 04, 2009, 19:01 (0 Talkback[s])
[ Thanks to Jadu for
this link. ]
"Also if you know what to grep for, say in above
example the control character is ^B (hex x02); then you can
directly grep for it like this
$ grep ^B /tmp/file.txt
* ^B to be typed as ctrl V and ctrl B
"And to match any non printable characters, here is another way
using grep"
Complete Story
Related Stories:

