From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o7SM8cW8024725 for ; Sat, 28 Aug 2010 18:08:38 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id o7SM8csZ028005; Sat, 28 Aug 2010 18:08:38 -0400 (EDT) Date: Sat, 28 Aug 2010 18:08:38 -0400 (EDT) Message-Id: <201008282208.o7SM8csZ028005@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Move mdoc/man template "The next is for" into the section X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Move mdoc/man template "The next is for" into the section itself. Added OpenBSD compatibility notes. Based on a patch by Jason McIntyre. Modified Files: -------------- mdocml: man.7 mdoc.7 mdoc.template Revision Data ------------- Index: mdoc.template =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc.template,v retrieving revision 1.7 retrieving revision 1.8 diff -Lmdoc.template -Lmdoc.template -u -p -r1.7 -r1.8 --- mdoc.template +++ mdoc.template @@ -13,23 +13,24 @@ .Sh NAME .Nm name .Nd short description -.\" The next is for sections 2, 3, & 9 only. .\" .Sh LIBRARY +.\" For sections 2, 3, & 9 only. +.\" Not used in OpenBSD. .Sh SYNOPSIS .Sh DESCRIPTION .\" .Sh IMPLEMENTATION NOTES -.\" The next is for sections 2, 3, & 9 only. .\" .Sh RETURN VALUES -.\" The next is for sections 1, 6, 7 & 8 only. +.\" For sections 2, 3, & 9 only. .\" .Sh ENVIRONMENT +.\" For sections 1, 6, 7 & 8 only. .\" .Sh FILES -.\" The next is for sections 1 & 8 only. .\" .Sh EXIT STATUS +.\" For sections 1 & 8 only. .\" .Sh EXAMPLES -.\" The next is for sections 1, 4, 6, 7, & 8 only .\" .Sh DIAGNOSTICS -.\" The next is for sections 2, 3, & 9 only. +.\" For sections 1, 4, 6, 7, & 8 only .\" .Sh ERRORS +.\" For sections 2, 3, & 9 only. .\" .Sh SEE ALSO .\" .Xr foobar 1 .\" .Sh STANDARDS @@ -38,3 +39,4 @@ .\" .Sh CAVEATS .\" .Sh BUGS .\" .Sh SECURITY CONSIDERATIONS +.\" Not used in OpenBSD. Index: man.7 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man.7,v retrieving revision 1.85 retrieving revision 1.86 diff -Lman.7 -Lman.7 -u -p -r1.85 -r1.86 --- man.7 +++ man.7 @@ -219,25 +219,26 @@ Documents are generally structured as fo \&.TH FOO 1 2009-10-10 \&.SH NAME \efBfoo\efR \e(en a description goes here -\&.\e\*q The next is for sections 2 & 3 only. \&.\e\*q .SH LIBRARY +\&.\e\*q For sections 2 & 3 only. +\&.\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 .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 +247,7 @@ The \efBfoo\efR utility processes files. \&.\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: mdoc.7 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc.7,v retrieving revision 1.155 retrieving revision 1.156 diff -Lmdoc.7 -Lmdoc.7 -u -p -r1.155 -r1.156 --- mdoc.7 +++ mdoc.7 @@ -331,8 +331,9 @@ file: \&.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,18 @@ The \&.Nm utility processes files ... \&.\e\*q .Sh IMPLEMENTATION NOTES -\&.\e\*q The next is for sections 2, 3, & 9 only. \&.\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 .Xr foobar 1 \&.\e\*q .Sh STANDARDS @@ -362,6 +363,7 @@ utility processes files ... \&.\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 source+unsubscribe@mdocml.bsd.lv