Hi, ropers wrote on Sun, Sep 25, 2011 at 03:25:58AM +0200: >> On 2011-09-23, ropers <rop...@gmail.com> wrote:
>>> $ mandoc -Tascii /usr/ports/infrastructure/build/dpb3.1 | less > mandoc -Tascii /usr/ports/infrastructure/man/man1/dpb.1 | less As you keep citing that line from the outdated undeadly article, here is a side note: Just make that mandoc /usr/ports/infrastructure/man/man1/dpb.1 | less Sane defaults the OpenBSD way implies "when given no options, do the most common, fundamental thing", which for mandoc clearly is "just read the manual". With groff, by contrast, you need nroff -mandoc -Tascii -c /usr/ports/infrastructure/man/man1/dpb.1 | less or groff -mandoc -mtty-char -Tascii -P -c \ /usr/ports/infrastructure/man/man1/dpb.1 | less which doesn't even fit on a line, and when tbl(1) or eqn(1) is involved, it gets worse and you need pipes. With mandoc, basically, forget about options, except -Tlint and -Ttree for debugging the manual source code. Yours, Ingo