diff options
Diffstat (limited to 'share/man/man7/mdoc.samples.7')
-rw-r--r-- | share/man/man7/mdoc.samples.7 | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/share/man/man7/mdoc.samples.7 b/share/man/man7/mdoc.samples.7 index 7aae2fb66ea..87ed90b3aed 100644 --- a/share/man/man7/mdoc.samples.7 +++ b/share/man/man7/mdoc.samples.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mdoc.samples.7,v 1.6 1997/12/08 20:29:45 deraadt Exp $ +.\" $OpenBSD: mdoc.samples.7,v 1.7 1998/03/09 01:11:54 millert Exp $ .\" $NetBSD: mdoc.samples.7,v 1.5 1996/04/03 20:17:34 jtc Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -44,14 +44,14 @@ .Sh NAME .Nm mdoc.samples .Nd tutorial sampler for writing -.Bx +.Ox manuals with .Nm \-mdoc .Sh SYNOPSIS .Nm man mdoc.samples .Sh DESCRIPTION A tutorial sampler for writing -.Bx +.Ox manual pages with the .Nm \-mdoc macro package, a @@ -82,7 +82,7 @@ perform tasks such as quoting or emphasizing pieces of text. The manual domain is defined as macros that are a subset of the day to day informal language used to describe commands, routines and related -.Bx +.Ox files. Macros in the manual domain handle command names, command line arguments and options, function names, @@ -105,7 +105,7 @@ sexist intention. Since a tutorial document is normally read when a person desires to use the material immediately, the assumption has been made that the user of this document may be impatient. -The material presented in the remained of this document is +The material presented in the remainder of this document is outlined as follows: .Bl -enum -offset indent .It @@ -158,6 +158,7 @@ outlined as follows: .Bl -tag -width flag -compact -offset indent .It "AT&T Macro" . .It "BSD Macro" . +.It "OpenBSD Macro" . .It "UNIX Macro" . .It "Emphasis Macro" . .It "Enclosure/Quoting Macros" @@ -551,7 +552,7 @@ for sections 2, 3, 4, and 5. .It Li \&.Os operating_system release# The name of the operating system should be the common acronym, e.g. -.Tn BSD +.Tn OpenBSD or .Tn ATT . The release should be the standard release @@ -560,18 +561,17 @@ V.4. Unrecognized arguments are displayed as given in the page footer. For instance, a typical footer might be: .Pp -.Dl \&.Os BSD 4.3 +.Dl \&.Os OpenBSD 2.3 .Pp or for a locally produced set .Pp .Dl \&.Os CS Department .Pp -The Berkeley default, +The OpenBSD default, .Ql \&.Os without an argument, has been defined as -.Tn BSD -Experimental in the -site specific file +.Tn OpenBSD +in the site specific file .Pa /usr/share/tmac/mdoc/doc-common . It really should default to .Tn LOCAL . @@ -1396,6 +1396,18 @@ callable. It accepts at most two arguments. The .Ql \&.Bx macro is parsed and is callable. +.Ss OpenBSD Macro +.Dl Usage: .Ox [Version] ... \*(Pu +.Bl -tag -width ".Ox 2.3 ) ," -compact -offset 14n +.It Li ".Ox" +.Ox +.It Li ".Ox 2.3 ." +.Ox 2.3 . +.El +.Pp +The +.Ql \&.Ox +macro is parsed and is callable. .Ss UNIX Macro .Dl Usage: .Ux ... \*(Pu .Bl -tag -width ".Ux 4.3 ) ," -compact -offset 14n |