ansi-stripper
is a minimal command line tool to remove ansi escape sequences
from standard input and writing the result to standard output.
sh
cargo install ansi-stripper
ansi-stripper
is intended to be used with other unix tools and not very
useful on its own.
sh
ansi-stripper < text-with-escapes.txt > stripped-text.txt
Sending patches and bugs reporting is done via https://lists.sr.ht/~kchibisov/public-inbox