5 ms·
In which case the entire troff manual should be discarded and replaced with plain text. What you see is what you get. Case closed.
by tedunangst 3y ago
In which case the entire troff manual should be discarded and replaced with plain text. What you see is what you get. Case closed.
- _dain_ 3y agothat would be an improvement.
- theamk 3y agoThere is plenty of formatting to be applied to plain text, and which cannot be done manually by author (clang-format, anyone?). - Wrapping the lines to terminal window width - Indenting blocks - _Basic_ formatting (bold, underline - OK, colors - NO) - Common blocks (like option descriptions) which apply consistent combination of rules above Everything else should be plain text, just like the the computer code or shell commands. (There is an interesting question of why is bold text accessible in manpage but not in code.. I think the answer for that is code's equivalent is syntax highlighter. Computer languages are regular enough that we can have computer highlight various syntaxical elements; while human languages are not, so we need to ask manpage authors to highlight them for us)