Skip to content

Instantly share code, notes, and snippets.

@telnet2
Created March 9, 2021 18:14
Show Gist options
  • Save telnet2/eb20cb99d70af00cc82a97371159cc27 to your computer and use it in GitHub Desktop.
Save telnet2/eb20cb99d70af00cc82a97371159cc27 to your computer and use it in GitHub Desktop.
Remove color tags
env | sort | sed 's/\x1B[@A-Z\\\]^_]\|\x1B\[[0-9:;<=>?]*[-!"#$%&'"'"'()*+,.\/]*[][\\@A-Z^_`a-z{|}~]//g' >! /tmp/norm.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment