Difference between revisions of "ANSI escape code"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
+ | [[sed -e]] 's/\x1b\[[0-9;]*m//g' | ||
+ | [[gcloud --help]] | [[sed -e]] 's/\x1b\[[0-9;]*m//g' | ||
+ | |||
+ | [[pip install ansi2txt]] | ||
+ | [[gcloud --help]] | ansi2txt | ||
+ | |||
+ | |||
+ | * [[ASCII escape character]] | ||
+ | * [[gcloud --help]] | ||
+ | * [[Lines with a single space]] | ||
{{ANSI}} | {{ANSI}} |
Latest revision as of 13:31, 20 December 2023
sed -e 's/\x1b\[[0-9;]*m//g' gcloud --help | sed -e 's/\x1b\[[0-9;]*m//g'
pip install ansi2txt gcloud --help | ansi2txt
Advertising: