Linux/Parsing: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
* sed + control characters | |||
<blockquote> | |||
<pre> | |||
sed 's/\x00/controlcharwashere/g' | |||
</pre> | |||
</blockquote> | |||
* | * | ||
<blockquote> | <blockquote> |
Revision as of 22:16, 16 November 2012
- sed + control characters
sed 's/\x00/controlcharwashere/g'
sed -n '/Iowa/,/Montana/p'
- show as hex
od -t x1 -An