18.6. Sample Document

 < Day Day Up > 

The output of this sample document is shown in Figure 18-1.

     .TH WHIZPROG 1 "April 1, 2007"     .SH NAME     whizprog \- do amazing things     .SH SYNOPSIS     .B whizprog     [     .I options     ] [     .I files     \&... ]     .SH DESCRIPTION     .I Whizprog     is the next generation of really     .B cool     do-it-all programs. ...     .SH OPTIONS     .PP     .I Whizprog     accepts the following options.     .TP \w'\fB\-\^\-level\fP'u+3n     .PD 0     .B \-h     .TP     .PD     .B \-\^\-help     Print a helpful message and exit.     .TP     .BI \-\^\-level " level"     Set the level for the     .B \-\^\-stun     option.     .TP     .B \-\^\-stun     Stun the competition, or other beings, as needed. ...     .SH SEE ALSO     .IR "Whizprog \- The Be All and End All Program" ,     by J. Programmer.     .PP     .IR wimpprog (1)     .SH FILES     .B /dev/phaser     .br     .B /dev/telepath     .SH CAVEATS     .PP     There are a number of important points to remember.     .RS     .IP 1.     Use     .B \-\^\-help     to get help.     .IP 2.     Use     .B \-\^\-stun     with care.  ...     .RE     Forget these at your own risk!     .SH BUGS     The     .B \-\^\-stun     option currently always uses     .BR "\-\^\-level 10" ,     making it rather dangerous.     .SH AUTHOR     J. Programmer,     .B jp@wizard-corp.com

Figure 18-1. Output of sample document


     < Day Day Up > 


    Unix in a Nutshell
    Unix in a Nutshell, Fourth Edition
    ISBN: 0596100299
    EAN: 2147483647
    Year: 2005
    Pages: 201

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net