discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Jason McIntyre <jmc@kerhand.co.uk>
To: discuss@mdocml.bsd.lv
Cc: Thomas Klausner <wiz@NetBSD.org>
Subject: Re: mdoc.7: tweak skeleton file
Date: Sun, 29 Aug 2010 10:10:13 +0100	[thread overview]
Message-ID: <20100829091037.GA10462@bramka.kerhand.co.uk> (raw)
In-Reply-To: <4C79986D.6050801@bsd.lv>

On Sun, Aug 29, 2010 at 01:14:53AM +0200, Kristaps Dzonsons wrote:
> >
> >oops, except all our section ordering is mad. is this diff correct?
> >please note some very suble changes ;(
> 
> Enclosed are the three CVS copies of mdoc.7, man.7, and mdoc.template. 
> It's probably easiest to just diff these against your fixes to see if 
> I've mangled anything...
> 
> >on a side note, there is an IMPLEMENTATION NOTES section, which is not
> >recognised by us or mdoclint. can we kill it?
> 
> It can get a "Not used in OpenBSD line": it's up to you.  Note the 
> previous discussion about sections:
> 
> http://mdocml.bsd.lv/archives/discuss/0006.html
> 

most worrying is that i actually was part of that discussion ;(
apologies to ulrich (and everyone else) that i am revisiting a subject
we already debated.

man, what a mess! freebsd put EXIT STATUS in a different place,
apparently because of posix. do i have this right?

then the mandoc project copied this ordering.

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
	);

does anyone know of a good reason to move EXIT STATUS, other than
because posix says so? is anyone from netbsd going to change their
pages?

jmc
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

  reply	other threads:[~2010-08-29  9:10 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 [this message]
2010-08-29 10:50             ` Thomas Klausner
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=20100829091037.GA10462@bramka.kerhand.co.uk \
    --to=jmc@kerhand.co.uk \
    --cc=discuss@mdocml.bsd.lv \
    --cc=wiz@NetBSD.org \
    /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).