ansi2txt(1)
β¨ ansi2txt(1) β General Commands Manual π
π NAME
okay bestie, this one is SO simple π
ansi2txt is an ansi to plain text converter. that's literally the whole vibe πΈ
π§ SYNOPSIS
ansi2txt < log > outfile
π¦ DESCRIPTION
okay so ansi2txt is the queen of cleaning up messy text π it's built for text that's full of ANSI color codes, like MUD logs, stuff run through syntax highlighters, colorgcc, colordiff, ccze, loco, etc π and it turns all of that into plain ASCII text β¨
it works as a filter π«Ά it reads from stdin, strips out every single ANSI code, and sends the clean result to stdout. no cap, it's giving main character energy π
π₯ CAVEATS
bestie, listen up π all ANSI codes get ignored, and that includes all the cursor positioning ones too π sometimes that's exactly what you want, and sometimes it really, really isn't π
π SEE ALSO
obsessed with these too π ansi2html(1), ttyrec2ansi(1), pipetty(1).
okay that's the whole page, iconic π
this sign-off is from the General Commands Manual page for ansi2txt(1), dated 2002-09-02 π stay hydrated and keep your logs clean, bestie πΈπ«Ά
π¦ where this page comes from
- debian bookworm: colorized-logs 2.6-1 Β· MIT
- debian trixie: colorized-logs 2.7-1 Β· MIT
- epel 10: colorized-logs 2.7-1.el10_1 Β· MIT
- epel 9: colorized-logs 2.7-1.el9 Β· MIT
- fedora 43: colorized-logs 2.7-2.fc43 Β· MIT
- fedora 44: colorized-logs 2.7-4.fc44 Β· MIT
- nixos 26.05: colorized-logs 2.7
- nixpkgs unstable: colorized-logs 2.7
- ubuntu jammy: colorized-logs 2.6-1 Β· MIT
- ubuntu noble: colorized-logs 2.6-1 Β· MIT
- ubuntu questing: colorized-logs 2.7-1
- ubuntu resolute: colorized-logs 2.7-1build1 Β· MIT
- ubuntu stonking: colorized-logs 2.7-1build1 Β· MIT
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms