aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>1999-11-02 13:27:27 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>1999-11-02 13:27:27 +0000
commitaf56842c4604a6484c685efaaece334abf4cb84b (patch)
tree50954aa0acfa4e933ab6c8b03a092f1914c70a6d /share/man
parent385efa2c25d69a67a4008469212b6730a2f7593a (diff)
downloadsrc-af56842c4604a6484c685efaaece334abf4cb84b.tar.gz
src-af56842c4604a6484c685efaaece334abf4cb84b.zip
Document .Ox and .Nx macros
Notes
Notes: svn path=/head/; revision=52795
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man7/mdoc.samples.730
1 files changed, 24 insertions, 6 deletions
diff --git a/share/man/man7/mdoc.samples.7 b/share/man/man7/mdoc.samples.7
index eb8010c77b2b..29a26376cece 100644
--- a/share/man/man7/mdoc.samples.7
+++ b/share/man/man7/mdoc.samples.7
@@ -157,7 +157,7 @@ outlined as follows:
.Bl -tag -width flag -compact -offset indent
.It "AT&T Macro" .
.It "BSD Macro" .
-.It "FreeBSD Macro" .
+.It "FreeBSD/NetBSD/OpenBSD Macro" .
.It "UNIX Macro" .
.It "Enclosure/Quoting Macros"
.Bl -tag -width flag -compact -offset indent
@@ -1481,22 +1481,40 @@ callable. It accepts at most two arguments.
The
.Ql \&.Bx
macro is parsed and is callable.
-.Ss FreeBSD Macro
+.Ss FreeBSD/NetBSD/OpenBSD Macros
.Bd -literal -offset indent -compact
-Usage: .Fx Version.release ... \*(Pu
+Usage: .Fx [ Version.release ] ... \*(Pu
.Ed
.Bl -tag -width ".Fx 2.2 ) ," -compact -offset 14n
.It Li ".Fx 2.2 ."
.Fx 2.2 .
.El
.Pp
+.Bd -literal -offset indent -compact
+Usage: .Nx [ Version.release ] ... \*(Pu
+.Ed
+.Bl -tag -width ".Nx 1.4 ) ," -compact -offset 14n
+.It Li ".Nx 1.4 ."
+.Nx 1.4 .
+.El
+.Pp
+.Bd -literal -offset indent -compact
+Usage: .Ox [ Version.release ] ... \*(Pu
+.Ed
+.Bl -tag -width ".Ox 2.5 ) ," -compact -offset 14n
+.It Li ".Ox 2.5 ."
+.Ox 2.5 .
+.El
+.Pp
The
-.Ql \&.Fx
-macro is
+.Ql \&.Fx ,
+.Ql \&.Nx ,
+.Ql \&.Ox
+macros are
.Em not
parsed and
.Em not
-callable. It accepts at most two arguments.
+callable. They accept at most two arguments.
.Ss UNIX Macro
.Dl Usage: .Ux ... \*(Pu
.Bl -tag -width ".Ux 4.3 ) ," -compact -offset 14n