Skip to content

Instantly share code, notes, and snippets.

@mkrasowski
Created May 27, 2013 13:06
Show Gist options
  • Save mkrasowski/5656970 to your computer and use it in GitHub Desktop.
Save mkrasowski/5656970 to your computer and use it in GitHub Desktop.
sed: Filter out control and unprintable characters from input stream
s/[\x00-\x08]//g
s/[\x0A-\x0C]//g
s/[\x0E-\x1F]//g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment