Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 12:32:51 +0100
From:      Graham Perrin <grahamperrin@freebsd.org>
To:        freebsd-hackers <hackers@freebsd.org>
Subject:   deroff(1) and deroff (1b) with mdoc(7) (was: demandoc(1))
Message-ID:  <238083d9-c937-930c-9f15-7f8708c4205a@freebsd.org>
In-Reply-To: <79117D20-0A32-4548-9250-27CCF6650403@iitbombay.org>
References:  <0345d177-0da2-e41b-6a49-b3fe06e52be0@freebsd.org> <79117D20-0A32-4548-9250-27CCF6650403@iitbombay.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>From 
<https://docs.freebsd.org/en/books/fdp-primer/book/#manual-pages-markup>:

> … Most existing FreeBSD manual pages, and all new ones, use the 
> mdoc(7) form …

<https://man.freebsd.org/cgi/man.cgi?query=mdoc&sektion=7&manpath=freebsd-release>;


On 06/08/2023 06:13, Bakul Shah wrote:

> …
>
> Isn't deroff good enough?

Interesting, thanks.


<https://www.freshports.org/sysutils/heirloom/>;

deroff(1) /usr/local/heirloom/usr/5bin/deroff is potentially more useful 
than
deroff(1b) /usr/local/heirloom/usr/ucb/deroff however
deroff(1) removes a little too much; 
<https://reviews.freebsd.org/P600$148-153>.


<https://www.freshports.org/devel/plan9port/>;

deroff(1) in Plan 9 from User Space has:

- a manual page that differs from deroff(1) and deroff(1b) in the 
Heirloom Toolchest

- the same glitch (below).


% cat /usr/src/share/man/man8/rc.8 | grep Operation\ of
.Ss Operation of Nm
.Ss Operation of Nm rc.shutdown
% /usr/local/plan9/bin/deroff /usr/src/share/man/man8/rc.8 | grep Operation
Operation
Operation   rc.shutdown
%




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?238083d9-c937-930c-9f15-7f8708c4205a>