summaryrefslogtreecommitdiffstats
path: root/share/examples/mdoc/example.1
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1999-12-08 22:15:09 +0000
committermpp <mpp@FreeBSD.org>1999-12-08 22:15:09 +0000
commit417fa30de618234ab56569f76161137a2931e717 (patch)
tree8cf9cf1d078d78c8daae308ec5e2f165d7d30361 /share/examples/mdoc/example.1
parentef74d85fe0f8cf85be2d016f121c79e90ffcafa8 (diff)
downloadFreeBSD-src-417fa30de618234ab56569f76161137a2931e717.zip
FreeBSD-src-417fa30de618234ab56569f76161137a2931e717.tar.gz
Make share/examples/mdoc and share/misc/mdoc.template internally
consistent, and consistent with mdoc(7) and mdoc.samples(7). PR: doc/15352, doc/15353
Diffstat (limited to 'share/examples/mdoc/example.1')
-rw-r--r--share/examples/mdoc/example.124
1 files changed, 14 insertions, 10 deletions
diff --git a/share/examples/mdoc/example.1 b/share/examples/mdoc/example.1
index 4ee3c92..53ba9cf 100644
--- a/share/examples/mdoc/example.1
+++ b/share/examples/mdoc/example.1
@@ -29,7 +29,7 @@
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
-.Dd January 8, 1997
+.Dd December 8, 1999
.Dt EXAMPLE 1
.\" Note: Only specify the operating system when the command
.\" is FreeBSD specific, otherwise use the .Os macro with no
@@ -94,6 +94,19 @@ of the
command:
.Pp
.Dl % example -abc -d xyzzy /dev/null
+.Sh DIAGNOSTICS
+Exit status is 0 on success, and 1 if the command
+fails for one of the following reasons
+.Bl -diag
+.It example error message
+An example of an error message.
+.It another example error message.
+Self explanatory.
+.El
+.Sh COMPATIBILITY
+The
+.Nm
+command has no known compatibility issues.
.Sh SEE ALSO
.Xr example 3 ,
.Xr example 4 ,
@@ -121,15 +134,6 @@ If the command conforms to some standard, such as
or
.St -ansiC ,
it should be noted here.
-.Sh DIAGNOSTICS
-Exit status is 0 on success, and 1 if the command
-fails for one of the following reasons
-.Bl -diag
-.It example error message
-An example of an error message.
-.It another example error message.
-Self explanatory.
-.El
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud