| ansifilter(1) | user documentation | ansifilter(1) |
Ansifilter - ANSI escape code processor and converter
ansifilter [d:i:F:m:o:r:s:e:fhptvHRT] [-i input file] [-o output file] [--text] [--html] [--latex] [--tex] [--rtf] [input files]
Ansifilter is a small utility to handle text files containing ANSI terminal escape codes. The command sequences may be stripped or be interpreted to generate formatted output (HTML, LaTeX, TeX, RTF).
See the README file for details.
If no in- or output files are specified, stdin and stdout will be used for in- or output. Plain text will be generated, if no output format is given. Parsing XBIN files overrides --art-width, --art-height and --map options. The ANSI art file formats BIN, XBIN and TND cannot be read from stdin.
File conversions:
ansifilter -i text_with_ansi.txt -o text_without_ansi.txt
tail -f server.log | ansifilter
ansifilter *.txt
Andre Simon <a.simon@mailbox.org>
More information at http://www.andre-simon.de/.
| 2020-09-28 | Andre Simon |