discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Jason McIntyre <jmc@kerhand.co.uk>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: discuss@mdocml.bsd.lv
Subject: Re: mdoc.7: tweak skeleton file
Date: Sun, 29 Aug 2010 17:16:37 +0059	[thread overview]
Message-ID: <20100829161701.GC10462@bramka.kerhand.co.uk> (raw)
In-Reply-To: <20100829120937.GF12803@danbala.tuwien.ac.at>

On Sun, Aug 29, 2010 at 02:09:38PM +0200, Thomas Klausner wrote:
> On Sun, Aug 29, 2010 at 12:32:46PM +0059, Jason McIntyre wrote:
> > grr, we were meant to keep these files in sync. can you please mail me
> > when you make changes to this?
> 
> I'm sorry. I changed this after the discussion in May, here's the
> diff:
> @@ -104,12 +104,14 @@
>                 NETBSD ? "LIBRARY" : undef,
>                 "SYNOPSIS",
>                 "DESCRIPTION",
> -               NETBSD ? "EXIT STATUS" : undef,
> +               "IMPLEMENTATION NOTES",
>                 "RETURN VALUES",
>                 "ENVIRONMENT",
>                 "FILES",
> +               NETBSD ? "EXIT STATUS" : undef,
>                 "EXAMPLES",
>                 "DIAGNOSTICS",
> +               "COMPATIBILITY",
>                 "ERRORS",
>                 "SEE ALSO",
>                 "STANDARDS",
> 
> Actually, I don't like the new place of EXIT STATUS and prefer the old
> one; very few pages have been changed to the new order (only those
> with other commits since May).
>  Thomas

well, there is nothing to say we have to move it at all. it can stay in the
place it always was.

however for openbsd, the choice is not so important - we currently don;t
have EXIT STATUS, so as far as workload goes, it's irrelevant where we add
it.

i personally think it is best placed immediately after DESCRIPTION,
where it always was. please let us not just think about what posix does
when making this decision. i'd welcome feedback from any freebsd people
at this point - maybe there was a good reason for the change.

anyway, my diff below should make us match (almost) for mdoclint. note
that you need to make "IMPLEMENTATION NOTES" defined for netbsd only,
and "EXIT STATUS" now not os-specific.

let me know what you want to do about section placement.
jmc

Index: mdoclint
===================================================================
RCS file: /cvs/src/regress/usr.bin/mdoclint/mdoclint,v
retrieving revision 1.16
diff -u -r1.16 mdoclint
--- mdoclint	10 Feb 2010 08:36:33 -0000	1.16
+++ mdoclint	29 Aug 2010 16:10:45 -0000
@@ -104,12 +104,14 @@
 		NETBSD ? "LIBRARY" : undef,
 		"SYNOPSIS",
 		"DESCRIPTION",
-		NETBSD ? "EXIT STATUS" : undef,
+		NETBSD ? "IMPLEMENTATION NOTES" : undef,
 		"RETURN VALUES",
 		"ENVIRONMENT",
 		"FILES",
+		"EXIT STATUS",
 		"EXAMPLES",
 		"DIAGNOSTICS",
+		NETBSD ? "COMPATIBILITY" : undef,
 		"ERRORS",
 		"SEE ALSO",
 		"STANDARDS",
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

  reply	other threads:[~2010-08-29 16:17 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
2010-08-29 11:33               ` Jason McIntyre
2010-08-29 12:09                 ` Thomas Klausner
2010-08-29 16:17                   ` Jason McIntyre [this message]
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=20100829161701.GC10462@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).