From fe9d880f174df62245e2b204bedad0916fdf58e5 Mon Sep 17 00:00:00 2001 From: mpp Date: Thu, 9 Jan 1997 06:32:22 +0000 Subject: 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 --- share/examples/mdoc/example.4 | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'share/examples/mdoc/example.4') 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 -- cgit v1.1