diff options
author | Brendan O'Dea <bod@debian.org> | 2010-03-14 16:03:07 +1100 |
---|---|---|
committer | Brendan O'Dea <bod@debian.org> | 2010-03-14 16:03:07 +1100 |
commit | e0da9727a8de06a8fbd1dbf6f3311056b9bda8d5 (patch) | |
tree | 67f469b78c6920c660b8e89419c0d7e869aa2365 /help2man.h2m.PL | |
parent | 9cbf9853f7511ea9f7bc36b66276b4a791a47423 (diff) | |
download | help2man-e0da9727a8de06a8fbd1dbf6f3311056b9bda8d5.tar.gz |
move help2man.h2m in preparation for generating it
Diffstat (limited to 'help2man.h2m.PL')
-rw-r--r-- | help2man.h2m.PL | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/help2man.h2m.PL b/help2man.h2m.PL new file mode 100644 index 0000000..0e07c9e --- /dev/null +++ b/help2man.h2m.PL @@ -0,0 +1,73 @@ +Include file for help2man man page + +--locale=C + +[name] +help2man \- generate a simple manual page + +[include files] +Additional material may be included in the generated output with the +.B \-\-include +and +.B \-\-opt\-include +options. The format is simple: + + [section] + text + + /pattern/ + text + +Blocks of verbatim *roff text are inserted into the output either at +the start of the given +.BI [ section ] +(case insensitive), or after a paragraph matching +.BI / pattern /\fR. + +Patterns use the Perl regular expression syntax and may be followed by +the +.IR i , +.I s +or +.I m +modifiers (see +.BR perlre (1)). + +Lines before the first section or pattern which begin with `\-' are +processed as options. Anything else is silently ignored and may be +used for comments, RCS keywords and the like. + +The section output order (for those included) is: + + NAME + SYNOPSIS + DESCRIPTION + OPTIONS + ENVIRONMENT + FILES + EXAMPLES + \fIother\fR + AUTHOR + REPORTING BUGS + COPYRIGHT + SEE ALSO + +Any +.B [name] +or +.B [synopsis] +sections appearing in the include file will replace what would have +automatically been produced (although you can still override the +former with +.B --name +if required). + +Other sections are prepended to the automatically produced output for +the standard sections given above, or included at +.I other +(above) in the order they were encountered in the include file. + +[availability] +The latest version of this distribution is available on-line from: + + ftp://ftp.gnu.org/gnu/help2man/ |