Linux/Parsing: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 22: Line 22:
</pre>
</pre>
</blockquote>
</blockquote>
* Links
** http://www.unix.com/tips-tutorials/18009-12-ways-parse-file.html
** http://sed.sourceforge.net/sed1line.txt

Revision as of 00:35, 18 November 2012

  • sed + control characters
sed 's/\x00/controlcharwashere/g'


sed -n '/Iowa/,/Montana/p'


  • show as hex
od -t x1 -An