.\" $OpenBSD: mdoc.template,v 1.13 2012/09/06 01:01:58 tedu Exp $ .\" .\" Copyright (c) YYYY YOUR NAME HERE .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .\" The following requests are required for all man pages. .\" .\" Remove `\&' from the line below. .Dd $\&Mdocdate$ .Dt NAME SECTION# .Os .Sh NAME .Nm program .Nd one line about what it does .Sh SYNOPSIS .\" For a program: program [-abc] file ... .Nm program .Op Fl abc .Ar .Sh DESCRIPTION The .Nm utility processes files ... .\" The following requests should be uncommented and used where appropriate. .\" .Sh RETURN VALUES .\" For sections 2, 3, and 9 function return values only. .\" .Sh ENVIRONMENT .\" For sections 1, 6, 7 & 8 only. .\" .Sh FILES .\" .Sh EXIT STATUS .\" For sections 1, 6, & 8 only. .\" .Sh EXAMPLES .\" .Sh DIAGNOSTICS .\" For sections 1, 4, 6, 7, and 8 only. .\" .Sh ERRORS .\" For sections 2, 3, and 9 error and signal handling only. .\" .Sh SEE ALSO .\" .Xr foobar 1 .\" .Sh STANDARDS .\" .Sh HISTORY .\" .Sh AUTHORS .\" .Sh CAVEATS .\" .Sh BUGS