script-plaintext
v1.0.2
Published
Convert script output with color code into plain text
Downloads
3
Readme
script-plaintext
Convert script output with color code into plain text
Usage Case
In shell, you can record the cli interaction using the script
command, it will record the input to a 'typescript' file.
However, this file contains lots of contain characters, e.g. <Esc>[6m;
.
This cli tools remove the control characters, only preserving plain-text content.