Linux/Parsing: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 36: Line 36:
** http://sed.sourceforge.net/sed1line.txt
** http://sed.sourceforge.net/sed1line.txt
** http://www.grymoire.com/Unix/Sed.html
** http://www.grymoire.com/Unix/Sed.html
[[Category:Linux/Bash]]

Revision as of 13:36, 1 April 2017

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


  • slowing output
cat incoming.log | pv -qL 1000 | tee temp


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


  • show as hex
od -t x1 -An