From: Jason McIntyre <jmc@kerhand.co.uk>
To: discuss@mdocml.bsd.lv
Subject: Re: mdoc.7: tweak skeleton file
Date: Tue, 31 Aug 2010 18:53:55 +0059 [thread overview]
Message-ID: <20100831175419.GA5914@bramka.kerhand.co.uk> (raw)
In-Reply-To: <20100830121628.GC21025@bramka.kerhand.co.uk>
On Mon, Aug 30, 2010 at 01:16:04PM +0100, Jason McIntyre wrote:
> On Mon, Aug 30, 2010 at 11:01:15AM +0200, Thomas Klausner wrote:
> >
> > > yes, so are netbsd going to move EXIT STATUS in all pages to the place
> > > now advertised by mandoc/mdoclint or are you going to put EXIT STATUS
> > > immediately after DESCRIPTION again?
> >
> > Well, I prefer the place next to RETURN VALUES (because those two are
> > quite similar in my eyes) but we can settle on the other one, and I'll
> > update the pages over the years ;)
> > Thomas
>
> i guess it will be less fuss to accept where it is now than to change it
> again. i'll keep to the new order as well then.
>
> i'll inline below what i currently have in the sections part of
> mdoclint. can you check yours agrees?
>
and just so there's no confusion, i've inlined the actual commits i made
to man.7 and mandoc.7 (in the openbsd tree).
jmc
Index: man/man7/man.7
===================================================================
RCS file: /cvs/src/share/man/man7/man.7,v
retrieving revision 1.7
diff -u -r1.7 man.7
--- man/man7/man.7 22 Aug 2010 11:39:18 -0000 1.7
+++ man/man7/man.7 31 Aug 2010 17:47:58 -0000
@@ -221,23 +221,25 @@
\efBfoo\efR \e(en a description goes here
\&.\e\*q The next is for sections 2 & 3 only.
\&.\e\*q .SH LIBRARY
+\&.\e\*q Not used in OpenBSD.
\&.SH SYNOPSIS
\efBfoo\efR [\efB\e-options\efR] arguments...
\&.SH DESCRIPTION
The \efBfoo\efR utility processes files...
\&.\e\*q .SH IMPLEMENTATION NOTES
-\&.\e\*q The next is for sections 2, 3, & 9 only.
+\&.\e\*q Not used in OpenBSD.
\&.\e\*q .SH RETURN VALUES
-\&.\e\*q The next is for sections 1, 6, 7, & 8 only.
+\&.\e\*q For sections 2, 3, & 9 only.
\&.\e\*q .SH ENVIRONMENT
+\&.\e\*q For sections 1, 6, 7, & 8 only.
\&.\e\*q .SH FILES
-\&.\e\*q The next is for sections 1 & 8 only.
\&.\e\*q .SH EXIT STATUS
+\&.\e\*q For sections 1 & 8 only.
\&.\e\*q .SH EXAMPLES
-\&.\e\*q The next is for sections 1, 4, 6, 7, & 8 only.
\&.\e\*q .SH DIAGNOSTICS
-\&.\e\*q The next is for sections 2, 3, & 9 only.
+\&.\e\*q For sections 1, 4, 6, 7, & 8 only.
\&.\e\*q .SH ERRORS
+\&.\e\*q For sections 2, 3, & 9 only.
\&.\e\*q .SH SEE ALSO
\&.\e\*q .BR foo ( 1 )
\&.\e\*q .SH STANDARDS
@@ -246,6 +248,7 @@
\&.\e\*q .SH CAVEATS
\&.\e\*q .SH BUGS
\&.\e\*q .SH SECURITY CONSIDERATIONS
+\&.\e\*q Not used in OpenBSD.
.Ed
.Pp
The sections in a
Index: man/man7/mdoc.7
===================================================================
RCS file: /cvs/src/share/man/man7/mdoc.7,v
retrieving revision 1.49
diff -u -r1.49 mdoc.7
--- man/man7/mdoc.7 22 Aug 2010 11:39:18 -0000 1.49
+++ man/man7/mdoc.7 31 Aug 2010 17:48:00 -0000
@@ -331,8 +331,9 @@
\&.Sh NAME
\&.Nm foo
\&.Nd a description goes here
-\&.\e\*q The next is for sections 2, 3, & 9 only.
\&.\e\*q .Sh LIBRARY
+\&.\e\*q For sections 2, 3, & 9 only.
+\&.\e\*q Not used in OpenBSD.
\&.Sh SYNOPSIS
\&.Nm foo
\&.Op Fl options
@@ -342,18 +343,19 @@
\&.Nm
utility processes files ...
\&.\e\*q .Sh IMPLEMENTATION NOTES
-\&.\e\*q The next is for sections 2, 3, & 9 only.
+\&.\e\*q Not used in OpenBSD.
\&.\e\*q .Sh RETURN VALUES
-\&.\e\*q The next is for sections 1, 6, 7, & 8 only.
+\&.\e\*q For sections 2, 3, & 9 only.
\&.\e\*q .Sh ENVIRONMENT
+\&.\e\*q For sections 1, 6, 7, & 8 only.
\&.\e\*q .Sh FILES
-\&.\e\*q The next is for sections 1, 6 & 8 only.
\&.\e\*q .Sh EXIT STATUS
+\&.\e\*q For sections 1 & 8 only.
\&.\e\*q .Sh EXAMPLES
-\&.\e\*q The next is for sections 1, 4, 6, 7, & 8 only.
\&.\e\*q .Sh DIAGNOSTICS
-\&.\e\*q The next is for sections 2, 3, & 9 only.
+\&.\e\*q For sections 1, 4, 6, 7, & 8 only.
\&.\e\*q .Sh ERRORS
+\&.\e\*q For sections 2, 3, & 9 only.
\&.\e\*q .Sh SEE ALSO
\&.\e\*q .Xr foobar 1
\&.\e\*q .Sh STANDARDS
@@ -362,6 +364,7 @@
\&.\e\*q .Sh CAVEATS
\&.\e\*q .Sh BUGS
\&.\e\*q .Sh SECURITY CONSIDERATIONS
+\&.\e\*q Not used in OpenBSD.
.Ed
.Pp
The sections in an
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
prev parent reply other threads:[~2010-08-31 17:54 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
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 [this message]
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=20100831175419.GA5914@bramka.kerhand.co.uk \
--to=jmc@kerhand.co.uk \
--cc=discuss@mdocml.bsd.lv \
/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).