Skip to content

Instantly share code, notes, and snippets.

@jdmichaud
Created October 24, 2017 12:09
Show Gist options
  • Save jdmichaud/0c038cbc203f13208f0d5c4c3141735a to your computer and use it in GitHub Desktop.
Save jdmichaud/0c038cbc203f13208f0d5c4c3141735a to your computer and use it in GitHub Desktop.
Remove color codes from text
cat coloredtext | sed 's/\x1b\[[0-9;]*m//g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment