1*fff9b474SMateusz Piotrowski.\" 2*fff9b474SMateusz Piotrowski.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3*fff9b474SMateusz Piotrowski.\" 4374334e4SBruce Evans.\" Copyright (c) [year] [your name] 59a78dbdeSMike Pritchard.\" 69a78dbdeSMike Pritchard.\" Redistribution and use in source and binary forms, with or without 79a78dbdeSMike Pritchard.\" modification, are permitted provided that the following conditions 89a78dbdeSMike Pritchard.\" are met: 99a78dbdeSMike Pritchard.\" 1. Redistributions of source code must retain the above copyright 109a78dbdeSMike Pritchard.\" notice, this list of conditions and the following disclaimer. 119a78dbdeSMike Pritchard.\" 2. Redistributions in binary form must reproduce the above copyright 129a78dbdeSMike Pritchard.\" notice, this list of conditions and the following disclaimer in the 139a78dbdeSMike Pritchard.\" documentation and/or other materials provided with the distribution. 149a78dbdeSMike Pritchard.\" 15374334e4SBruce Evans.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 169a78dbdeSMike Pritchard.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 179a78dbdeSMike Pritchard.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 189a78dbdeSMike Pritchard.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 199a78dbdeSMike Pritchard.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 209a78dbdeSMike Pritchard.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 219a78dbdeSMike Pritchard.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 229a78dbdeSMike Pritchard.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 239a78dbdeSMike Pritchard.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 249a78dbdeSMike Pritchard.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 259a78dbdeSMike Pritchard.\" SUCH DAMAGE. 269a78dbdeSMike Pritchard.\" 277dc5a4daSMike Pritchard.\" $FreeBSD$ 289a78dbdeSMike Pritchard.\" 2981fba91bSMike Pritchard.\" Note: The date here should be updated whenever a non-trivial 3081fba91bSMike Pritchard.\" change is made to the manual page. 31ed0bfbe5SMike Pritchard.Dd December 8, 1999 329a78dbdeSMike Pritchard.Dt EXAMPLE 1 339fdcafcfSRuslan Ermilov.Os 349a78dbdeSMike Pritchard.Sh NAME 359a78dbdeSMike Pritchard.Nm example 36d72ca9ddSRuslan Ermilov.Nd "example command manual page" 379a78dbdeSMike Pritchard.Sh SYNOPSIS 387c7fb079SRuslan Ermilov.Nm 399a78dbdeSMike Pritchard.Op Fl abc 409a78dbdeSMike Pritchard.Op Fl d Ar argument 419a78dbdeSMike Pritchard.Ar file 429a78dbdeSMike Pritchard.Sh DESCRIPTION 4303e563d7SSheldon HearnThis is an example manual page for the 449a78dbdeSMike Pritchard.Nm 4503e563d7SSheldon Hearncommand. 4603e563d7SSheldon HearnIt is intended that this example can be used as a template 4703e563d7SSheldon Hearnwhen writing a new manual page. 489a78dbdeSMike Pritchard.Pp 499a78dbdeSMike PritchardThe options are as follows: 50d72ca9ddSRuslan Ermilov.Bl -tag -width ".Fl d Ar argument" 519a78dbdeSMike Pritchard.It Fl a 529a78dbdeSMike PritchardExample optional 539a78dbdeSMike Pritchard.Fl a 549a78dbdeSMike Pritchardoption. 559a78dbdeSMike Pritchard.It Fl b 569a78dbdeSMike PritchardExample optional 579a78dbdeSMike Pritchard.Fl b 589a78dbdeSMike Pritchardoption. 599a78dbdeSMike Pritchard.It Fl c 609a78dbdeSMike PritchardExample optional 619a78dbdeSMike Pritchard.Fl c 629a78dbdeSMike Pritchardoption. 639a78dbdeSMike Pritchard.It Fl d Ar argument 649a78dbdeSMike PritchardExample optional 659a78dbdeSMike Pritchard.Fl d 669a78dbdeSMike Pritchardoption with required argument 679a78dbdeSMike Pritchard.Ar argument . 689a78dbdeSMike Pritchard.It Ar file 699a78dbdeSMike PritchardRequired argument 709a78dbdeSMike Pritchard.Ar file . 719a78dbdeSMike Pritchard.El 729a78dbdeSMike Pritchard.Sh ENVIRONMENT 739a78dbdeSMike PritchardThe 749a78dbdeSMike Pritchard.Nm 759a78dbdeSMike Pritchardcommand ignores the 769a78dbdeSMike Pritchard.Ev EXAMPLE 779a78dbdeSMike Pritchardenvironment variable. 789a78dbdeSMike Pritchard.Sh FILES 79d72ca9ddSRuslan Ermilov.Bl -tag -width ".Pa /dev/null" -compact 809a78dbdeSMike Pritchard.It Pa /dev/null 819a78dbdeSMike PritchardExample of a file in the 829a78dbdeSMike Pritchard.Sx FILES 839a78dbdeSMike Pritchardsection. 849a78dbdeSMike Pritchard.El 8506d7435bSRuslan Ermilov.Sh EXIT STATUS 8606d7435bSRuslan Ermilov.Ex -std 8781fba91bSMike Pritchard.Sh EXAMPLES 8881fba91bSMike PritchardThe following is an example of a typical usage 8981fba91bSMike Pritchardof the 9081fba91bSMike Pritchard.Nm 9181fba91bSMike Pritchardcommand: 9281fba91bSMike Pritchard.Pp 9381c63956SDavid E. O'Brien.Dl "example -abc -d xyzzy /dev/null" 94ed0bfbe5SMike Pritchard.Sh DIAGNOSTICS 9506d7435bSRuslan ErmilovThe command may fail for one of the following reasons: 96ed0bfbe5SMike Pritchard.Bl -diag 97d72ca9ddSRuslan Ermilov.It "example error message" 98ed0bfbe5SMike PritchardAn example of an error message. 99d72ca9ddSRuslan Ermilov.It "another example error message." 100ed0bfbe5SMike PritchardSelf explanatory. 101ed0bfbe5SMike Pritchard.El 102ed0bfbe5SMike Pritchard.Sh COMPATIBILITY 103ed0bfbe5SMike PritchardThe 104ed0bfbe5SMike Pritchard.Nm 105ed0bfbe5SMike Pritchardcommand has no known compatibility issues. 1069a78dbdeSMike Pritchard.Sh SEE ALSO 1079a78dbdeSMike Pritchard.Xr example 3 , 1089a78dbdeSMike Pritchard.Xr example 4 , 1094227c68dSGiorgos Keramidas.Xr mdoc 7 , 1104227c68dSGiorgos Keramidas.Xr example 9 11181fba91bSMike Pritchard.Rs 112d72ca9ddSRuslan Ermilov.%A "A. B. Author" 113d72ca9ddSRuslan Ermilov.%T "Example RFC Title" 11481fba91bSMike Pritchard.%O RFC0000 11581fba91bSMike Pritchard.Re 11681fba91bSMike Pritchard.Rs 117d72ca9ddSRuslan Ermilov.%A "A. B. Author" 118d72ca9ddSRuslan Ermilov.%B "Example Book Title" 11981fba91bSMike Pritchard.%O ISBN-0-000-00000-0 12081fba91bSMike Pritchard.Re 12181fba91bSMike Pritchard.Rs 122d72ca9ddSRuslan Ermilov.%A "A. B. Author" 123d72ca9ddSRuslan Ermilov.%D "January 1997" 124d72ca9ddSRuslan Ermilov.%J "Example Journal Name" 125d72ca9ddSRuslan Ermilov.%T "Example Article Title" 12681fba91bSMike Pritchard.Re 1279a78dbdeSMike Pritchard.Sh STANDARDS 1289a78dbdeSMike PritchardIf the command conforms to some standard, such as 1299a78dbdeSMike Pritchard.St -p1003.2 1309a78dbdeSMike Pritchardor 131588a200cSRuslan Ermilov.St -isoC , 1329a78dbdeSMike Pritchardit should be noted here. 1339a78dbdeSMike Pritchard.Sh HISTORY 1349a78dbdeSMike PritchardThe 1359a78dbdeSMike Pritchard.Nm 1369a78dbdeSMike Pritchardmanual page example first appeared in 1379cb8091fSMike Pritchard.Fx 2.2 . 13881fba91bSMike Pritchard.Pp 13981fba91bSMike PritchardSome other common 14081fba91bSMike Pritchard.Sx HISTORY 14181fba91bSMike Pritchardsection examples are: 14281fba91bSMike Pritchard.Pp 14381fba91bSMike PritchardThe 14481fba91bSMike Pritchard.Nm 14581fba91bSMike Pritchardmanual page example first appeared in 14681fba91bSMike Pritchard.Bx 4.4 . 14781fba91bSMike Pritchard.Pp 14881fba91bSMike PritchardThe 14981fba91bSMike Pritchard.Nm 15081fba91bSMike Pritchardmanual page example first appeared in 15181fba91bSMike Pritchard.At v6 . 152facbd487SPhilippe Charnier.Sh AUTHORS 1539a78dbdeSMike PritchardThis 154d00f4c32SMike Pritchardmanual page was written by 155bd0891ceSBaptiste Daroussin.An Mike Pritchard Aq Mt mpp@FreeBSD.org . 1569a78dbdeSMike Pritchard.Sh BUGS 1579a78dbdeSMike PritchardThe actual code for this command is vaporware. 158