Skip to content

Instantly share code, notes, and snippets.

@Semnodime
Created April 10, 2024 10:34
Show Gist options
  • Save Semnodime/8e87474115e5139b93366460fdcfb775 to your computer and use it in GitHub Desktop.
Save Semnodime/8e87474115e5139b93366460fdcfb775 to your computer and use it in GitHub Desktop.
Strip ANSI Color Codes from Input
sed -r "s/\x1B\[[0-9;]*[mK]//g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment