UNROFF(1)
π UNROFF(1) β like, the glow-up page for your *roff docs π
okay bestie, welcome to UNROFF(1), straight outta the General Commands Manual π she's a little chaotic, she's a little iconic, and she turns your crunchy *roff markup into actual readable text. let's get into it β¨
πΈ NAME πΈ
unroff β convert troff documents to plain text π¦
β SYNTAX β
unroff [ -E ] [ -J ] [ -8 ] [ -mxx ] [ file ... ]
β¨ DESCRIPTION β¨
okay so here's the tea β unroff takes documents that were written to be formatted with troff (or nroff, or literally any of the other *roff variants, she's not picky) and converts them into plain text. it's giving similar-to-what-deroff-does energy, except ngl the result is sometimes better than deroff output π no cap.
you can pass optional flags to change up how unroff operates, and here they are, bestie:
-Eβ echo input tokens as they're read. this is mostly a debugging thing, so like, don't expect it to be cute, expect it to be noisy π-Jβ join output lines that would've been part of one single paragraph so they become one single output line. this is lowkey perfect if you're planning to move the resulting output into a document formatter that treats paragraphs as a single line π«Ά the default, though, is to do line wrapping according to the line length specified in the input document. so like,-Jis the main character choice here π-8β write 8-bit ISO Latin-1 (ISO 8859-1) characters β¨ this one's useful for producing output you plan to view on devices that can actually display 8-bit characters. without this option, 8-bit Latin-1 characters will generall appear in the output as`[[name]]`wherenameis thetroffcvtinternal name for the character, e.g.,`[[Aacute]]`π and for some of these characters, an ASCII approximation gets used if something reasonably close is available. so it's giving β¨approximationβ¨ vibes-mxxβ specify macro package, usually-man,-me,-mm, or-msπ
π DIAGNOSTICS π
line length clipped to nnn chars.β a very long line length was requested. like, SO long that it would likely result in output line assembly buffer overflow π± so the length gets clipped to prevent that. she's protecting you, fr fr.output buffer capacity exceeded.β this means some line is so long it couldn't be collected in the output line assembly buffer. most likely this signals a bug intc2text, since the length is supposed to be kept within reasonable bounds (see previous paragraph). so... yeah. that one's atc2textproblem, not a you problem π«
π SEE ALSO π
π WHO-TO-BLAME π
Paul DuBois, dubois@primate.wisc.edu. that's the icon to blame, bestie π
π¦ BUGS π¦
unroff doesn't do so well with tables π particularly tables with multiple-line cells. and table centering isn't handled. periodt. she's not perfect, she's just doing her best πΈ
and that's the whole page, bestie!! this was UNROFF(1) from the General Commands Manual β footer says the same thing, so you know she's official π πβ¨
π¦ where this page comes from
- debian bookworm: troffcvt 1.04+repack1-1
- ubuntu noble: troffcvt 1.04+repack1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms