aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-08-14 15:08:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-08-14 15:08:31 +0000
commit01fc3eec52b1d1890d4b6d6648a2972ace088e95 (patch)
treece2cd5981e64a77688c30cb2d876756614b97db5
parentcbcd971bbd4927814d654460337a6774684b3d8f (diff)
downloadmandoc-01fc3eec52b1d1890d4b6d6648a2972ace088e95.tar.gz
mandoc-01fc3eec52b1d1890d4b6d6648a2972ace088e95.tar.zst
mandoc-01fc3eec52b1d1890d4b6d6648a2972ace088e95.zip
Use text production macros to document themselves.
Part of the patch was sent in by Jan Stary <hans at stare dot cz>, another part was added by jmc@, the rest was added by myself; ok jmc@.
-rw-r--r--mdoc.724
1 files changed, 17 insertions, 7 deletions
diff --git a/mdoc.7 b/mdoc.7
index c6b1c9f1..00e1a1ae 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.219 2013/07/13 19:41:16 schwarze Exp $
+.\" $Id: mdoc.7,v 1.220 2013/08/14 15:08:31 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 13 2013 $
+.Dd $Mdocdate: August 14 2013 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -711,7 +711,9 @@ for fixed strings to be passed verbatim as arguments, use
or
.Sx \&Cm .
.Ss \&At
-Formats an AT&T version.
+Formats an
+.At
+version.
Accepts one optional argument:
.Pp
.Bl -tag -width "v[1-7] | 32vX" -offset indent -compact
@@ -1089,7 +1091,9 @@ Examples:
See also
.Sx \&Bro .
.Ss \&Bsx
-Format the BSD/OS version provided as an argument, or a default value if
+Format the
+.Bsx
+version provided as an argument, or a default value if
no argument is provided.
.Pp
Examples:
@@ -1109,7 +1113,9 @@ and
Prints
.Dq is currently in beta test.
.Ss \&Bx
-Format the BSD version provided as an argument, or a default value if no
+Format the
+.Bx
+version provided as an argument, or a default value if no
argument is provided.
.Pp
Examples:
@@ -1405,7 +1411,9 @@ for special-purpose constants and
.Sx \&Va
for variable symbols.
.Ss \&Dx
-Format the DragonFly BSD version provided as an argument, or a default
+Format the
+.Dx
+version provided as an argument, or a default
value if no argument is provided.
.Pp
Examples:
@@ -2474,7 +2482,9 @@ Examples:
Prints out
.Dq currently under development.
.Ss \&Ux
-Format the UNIX name.
+Format the
+.Ux
+name.
Accepts no argument.
.Pp
Examples: