#escaping #ansi #cli #stdin #strip-ansi

app ansi-stripper

Strip ansi escape sequences from stdin and write result to stdout

1 unstable release

0.1.0 May 1, 2022

#4 in #strip-ansi

GPL-3.0 license

16KB
80 lines

ansi-stripper

ansi-stripper is a minimal command line tool to remove ansi escape sequences from standard input and writing the result to standard output.

Installation

cargo install ansi-stripper

Usage

ansi-stripper is intended to be used with other unix tools and not very useful on its own.

ansi-stripper < text-with-escapes.txt > stripped-text.txt

Contributing and reporting bugs

Sending patches and bugs reporting is done via https://lists.sr.ht/~kchibisov/public-inbox

Dependencies

~225KB