ABOUT
Ansitx is a command line tool for converting ANSI formated text to plain text, while retaining propper formating. Unlike other tools, such as ansi2txt, that simply strip out all ANSI escapes, ansitx prosses the ANSI escapes and returns correctly formated plain text.
INSTALATION
To install ansitx, you will need to install git and Rust/Cargo. Then run the following commands:
git clone https://github.com/scottclo/ansitx cd ansitx cargo build --relsease
Now you can move or copy the ansitx binary into you usr/local/bin folder.
sudo mv /target/release/ansitx /usr/local/bin/
Now you should be able to run the ansitx command.