Linux/Parsing: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
** http://www.unix.com/tips-tutorials/18009-12-ways-parse-file.html | ** http://www.unix.com/tips-tutorials/18009-12-ways-parse-file.html | ||
** http://sed.sourceforge.net/sed1line.txt | ** http://sed.sourceforge.net/sed1line.txt | ||
** http://www.grymoire.com/Unix/Sed.html |
Revision as of 17:21, 18 November 2012
- sed + control characters
sed 's/\x00/controlcharwashere/g'
sed -n '/Iowa/,/Montana/p'
- show as hex
od -t x1 -An