From: Thomas Klausner <wiz@NetBSD.org>
To: Jason McIntyre <jmc@kerhand.co.uk>
Cc: discuss@mdocml.bsd.lv
Subject: Re: mdoc.7: tweak skeleton file
Date: Sun, 29 Aug 2010 12:50:32 +0200 [thread overview]
Message-ID: <20100829105032.GD12803@danbala.tuwien.ac.at> (raw)
In-Reply-To: <20100829091037.GA10462@bramka.kerhand.co.uk>
On Sun, Aug 29, 2010 at 10:10:13AM +0100, Jason McIntyre wrote:
> but i'm willing to bet that no netbsd pages ever changed to follow this
> difference, and EXIT STATUS is still where it always was. netbsd's own
> man page checker, mdoclint, still reflects this. furthermore it is
> oblivious to the concept of a ("wanky", in kristaps' words)
> IMPLEMENTATION NOTES section.
>
> here is the section and ordering mdoclint follows (correct me if i'm
> wrong, thomas):
>
> my @sections = (
> "NAME",
> NETBSD ? "LIBRARY" : undef,
> "SYNOPSIS",
> "DESCRIPTION",
> "EXIT STATUS",
> "RETURN VALUES",
> "ENVIRONMENT",
> "FILES",
> "EXAMPLES",
> "DIAGNOSTICS",
> "ERRORS",
> "SEE ALSO",
> "STANDARDS",
> "HISTORY",
> "AUTHORS",
> "CAVEATS",
> "BUGS",
> NETBSD ? "SECURITY CONSIDERATIONS" : undef
> );
Well, here's the correction. That's the order currently checked by
pkgsrc/textproc/mdoclint/files/mdoclint:
my @sections = (
"NAME",
NETBSD ? "LIBRARY" : undef,
"SYNOPSIS",
"DESCRIPTION",
"IMPLEMENTATION NOTES",
"RETURN VALUES",
"ENVIRONMENT",
"FILES",
"EXIT STATUS",
"EXAMPLES",
"DIAGNOSTICS",
"COMPATIBILITY",
"ERRORS",
"SEE ALSO",
"STANDARDS",
"HISTORY",
"AUTHORS",
"CAVEATS",
"BUGS",
NETBSD ? "SECURITY CONSIDERATIONS" : undef
);
(Btw, pages actually using IMPLEMENTATION NOTES are e.g. bdes(1),
which compares to Sun's implementation; or stdio(3), which mentions
which functions are macros or support locking.)
Cheers,
Thomas
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
next prev parent reply other threads:[~2010-08-29 10:50 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 18:24 Jason McIntyre
2010-08-28 21:12 ` Kristaps Dzonsons
2010-08-28 22:01 ` Jason McIntyre
2010-08-28 22:08 ` Kristaps Dzonsons
2010-08-28 22:18 ` Jason McIntyre
2010-08-28 22:38 ` Jason McIntyre
2010-08-28 23:14 ` Kristaps Dzonsons
2010-08-29 9:10 ` Jason McIntyre
2010-08-29 10:50 ` Thomas Klausner [this message]
2010-08-29 11:33 ` Jason McIntyre
2010-08-29 12:09 ` Thomas Klausner
2010-08-29 16:17 ` Jason McIntyre
2010-08-29 17:26 ` Kristaps Dzonsons
2010-08-29 18:06 ` Ulrich Spörlein
2010-08-29 18:28 ` Jason McIntyre
2010-08-29 20:57 ` Thomas Klausner
2010-08-30 6:43 ` Jason McIntyre
2010-08-30 9:01 ` Thomas Klausner
2010-08-30 12:16 ` Jason McIntyre
2010-08-30 12:21 ` Thomas Klausner
2010-08-30 12:29 ` Kristaps Dzonsons
2010-08-31 17:54 ` Jason McIntyre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100829105032.GD12803@danbala.tuwien.ac.at \
--to=wiz@netbsd.org \
--cc=discuss@mdocml.bsd.lv \
--cc=jmc@kerhand.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).