example.1 (9a78dbdeb7552283b59d09210a9fa99f78fecc86) example.1 (81fba91b52ba48715f76b37439681f7f66001a9e)
1.\" Copyright (c) [year]
2.\" [you name here]. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\"
1.\" Copyright (c) [year]
2.\" [you name here]. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\"
33.Dd "January 2, 1997"
33.\" Note: The date here should be updated whenever a non-trivial
34.\" change is made to the manual page.
35.Dd January 8, 1997
34.Dt EXAMPLE 1
35.\" Note: Only specify the operating system when the command
36.\" is FreeBSD specific, otherwise use the .Os macro with no
37.\" arguments.
38.Os FreeBSD 3.0
39.Sh NAME
40.Nm example
41.Nd example command manual page

--- 42 unchanged lines hidden (view full) ---

84environment variable.
85.Sh FILES
86.Bl -tag -width /dev/null -compact
87.It Pa /dev/null
88Example of a file in the
89.Sx FILES
90section.
91.El
36.Dt EXAMPLE 1
37.\" Note: Only specify the operating system when the command
38.\" is FreeBSD specific, otherwise use the .Os macro with no
39.\" arguments.
40.Os FreeBSD 3.0
41.Sh NAME
42.Nm example
43.Nd example command manual page

--- 42 unchanged lines hidden (view full) ---

86environment variable.
87.Sh FILES
88.Bl -tag -width /dev/null -compact
89.It Pa /dev/null
90Example of a file in the
91.Sx FILES
92section.
93.El
94.Sh EXAMPLES
95The following is an example of a typical usage
96of the
97.Nm
98command:
99.Pp
100.Dl % example -abc -d xyzzy /dev/null
92.Sh SEE ALSO
93.Xr example 3 ,
94.Xr example 4 ,
95.Xr mdoc 7 ,
96.Xr mdoc.samples 7
101.Sh SEE ALSO
102.Xr example 3 ,
103.Xr example 4 ,
104.Xr mdoc 7 ,
105.Xr mdoc.samples 7
106.Rs
107.%A A. B. Author
108.%T Example RFC Title
109.%O RFC0000
110.Re
111.Rs
112.%A A. B. Author
113.%B Example Book Title
114.%O ISBN-0-000-00000-0
115.Re
116.Rs
117.%A A. B. Author
118.%D January 1997
119.%J Example Journal Name
120.%T Example Article Title
121.Re
97.Sh STANDARDS
98If the command conforms to some standard, such as
99.St -p1003.2
100or
101.St -ansiC ,
102it should be noted here.
103.Sh DIAGNOSTICS
122.Sh STANDARDS
123If the command conforms to some standard, such as
124.St -p1003.2
125or
126.St -ansiC ,
127it should be noted here.
128.Sh DIAGNOSTICS
104None.
129Exist status is 0 on success, and 1 if the command
130fails for one of the following reasons
131.Bl -diag
132.It example error message
133An example of an error message.
134.It another example error message.
135Self explanatory.
136.El
105.Sh HISTORY
106The
107.Nm
108manual page example first appeared in
109.Fx 3.0 .
137.Sh HISTORY
138The
139.Nm
140manual page example first appeared in
141.Fx 3.0 .
142.Pp
143Some other common
144.Sx HISTORY
145section examples are:
146.Pp
147The
148.Nm
149manual page example first appeared in
150.Bx 4.4 .
151.Pp
152The
153.Nm
154manual page example first appeared in
155.At v6 .
110.Sh AUTHOR
111This
112manual page was written by Mike Pritchard
113.Aq mpp@FreeBSD.ORG .
114.Sh BUGS
115The actual code for this command is vaporware.
156.Sh AUTHOR
157This
158manual page was written by Mike Pritchard
159.Aq mpp@FreeBSD.ORG .
160.Sh BUGS
161The actual code for this command is vaporware.