diff options
author | mpp <mpp@FreeBSD.org> | 1997-01-09 06:32:22 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-01-09 06:32:22 +0000 |
commit | fe9d880f174df62245e2b204bedad0916fdf58e5 (patch) | |
tree | 7f717e5b8e295d67e832e273889f9500cbaad900 /share/examples/mdoc/example.4 | |
parent | 0524c0d6d90a2be6fff5ae1493d87df845b0b301 (diff) | |
download | FreeBSD-src-fe9d880f174df62245e2b204bedad0916fdf58e5.zip FreeBSD-src-fe9d880f174df62245e2b204bedad0916fdf58e5.tar.gz |
Add some real example diagnostics to example.[14]
Add all of the possible errno's to example.3.
Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros
in the various HISTORY sections.
Add some .Rs/.Re (used for referencing things other
than man pages) in the SEE ALSO sections.
Suggested by: wollman
Diffstat (limited to 'share/examples/mdoc/example.4')
-rw-r--r-- | share/examples/mdoc/example.4 | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/share/examples/mdoc/example.4 b/share/examples/mdoc/example.4 index 1e26511..a924190 100644 --- a/share/examples/mdoc/example.4 +++ b/share/examples/mdoc/example.4 @@ -30,7 +30,9 @@ .\" SUCH DAMAGE. .\" .\" -.Dd "January 2, 1997" +.\" Note: The date here should be updated whenever a non-trivial +.\" change is made to the manual page. +.Dd January 8, 1997 .Dt EXAMPLE 4 i386 .\" Note: Only specify the operating system when the command .\" is FreeBSD specific, otherwise use the .Os macro with no @@ -71,12 +73,31 @@ section. .Xr mdoc 7 , .Xr mdoc.samples 7 .Sh DIAGNOSTICS -None. +.Bl -diag +.It example%d: example diagnostic message. +An example of a diagnostic message. +.It example%d: another example diagnostic message. +Self explanatory. +.El .Sh HISTORY The .Nm manual page example first appeared in .Fx 3.0 . +.Pp +Some other common +.Sx HISTORY +section examples are: +.Pp +The +.Nm +manual page example first appeared in +.Bx 4.4 . +.Pp +The +.Nm +manual page example first appeared in +.At v6 . .Sh AUTHOR This manual page was written by Mike Pritchard |