1ansi2txt(1) General Commands Manual ansi2txt(1)
2
3
4
6 ansi2txt - ansi to plain text converter
7
9 ansi2txt < log > outfile
10
12 ansi2txt can be used to convert text containing ANSI color codes (such
13 as MUD logs, text processed by syntax highlighters, colorgcc, col‐
14 ordiff, ccze, loco, etc) into plain ASCII text. It works as a filter,
15 reading from stdin, removing all ANSI codes and sending the output to
16 stdout.
17
19 All ANSI codes are simply ignored, including all cursor positioning
20 ones. Sometimes this is what you want, sometimes it isn't.
21
23 ansi2html(1), ttyrec2ansi(1), pipetty(1).
24
25
26
27 2002-09-02 ansi2txt(1)