ls -l --color | perl -npe 's/\x1b(\[.*?[@-~]|\].*?(\x07|\x1b\\))//g;'
Created
January 22, 2019 14:10
-
-
Save thikade/a3ad4b9a718abe2dc7e9430effed04e8 to your computer and use it in GitHub Desktop.
remove shell color codes / escape code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment