Hacker News new | ask | show | jobs
by nwmcsween 5218 days ago
Troff is domain specific and even worse than info, man has one good thing going for it - it's a simple text stream.
1 comments

*roff is domain-specific in that it's a typesetting system, like TeX but much, much simpler. It has output drivers for rendering to PostScript, ASCII output with overstrike (as emulated by, say, less(1)), and in modern versions, even UTF-8 and HTML. I have production code at $EMPLOYER, for instance, that uses it to generate properly-formatted tables in plain-text emails (easier than building HTML and rendering it with elinks, since groff is already installed).