Ansifilter handles text files containing ANSI terminal escape codes.. #ANSI terminal #Text filter #ANSI filter #ANSI #Terminal #Filter
Ansifilter project handles text files containing ANSI terminal escape codes. The command sequences may be stripped or be interpreted to generate formatted output (HTML or RTF).
These are the options of the command line interface:
-i, --input=< file > Input file (optional) -o, --output=< file > Output file (optional)
-T, --text (default) Output text -R, --rtf Output RTF -H, --html Output HTML
-d, --doc-title Set HTML document title -e, --encoding Set HTML encoding (must match input file encoding) -F, --font=< font > Set font face -s, --font-size=< fs > Set font size -f, --fragment Omit HTML header and footer -p, --plain Ignore formatting information
-h, --help Print help -v, --version Print version and license info
ansifilter -i text_with_ansi.txt -o text_without_ansi.txt ansifilter *.txt
tail -f server.log | ansifilter
The GUI version also accepts the first command line argument as input file name.
Formatting:
Bold, Underline, Italic, Blink
Colors:
Black, Red, Green, Yellow, Blue, Magenta, Cyan, White
Other:
Conceal/Reveal, Image positive/negative
Ansifilters 1.7
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- main category:
- Utilities
- developer:
- visit homepage