X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=doc%2Fdoc-docbook%2Fx2man;h=e133e23edd0fe58886f79778583bce40b9b0f5b3;hb=db78a5c40bc27d6f9fe9151442e9dbb9abb11d8a;hp=a9812239ecbc342d77f9cc834b17d88dd888132b;hpb=168e428fc4dfcf7f4d377d137743d8332784fa35;p=exim.git diff --git a/doc/doc-docbook/x2man b/doc/doc-docbook/x2man index a9812239e..e133e23ed 100755 --- a/doc/doc-docbook/x2man +++ b/doc/doc-docbook/x2man @@ -1,17 +1,8 @@ #! /usr/bin/perl -w -# $Cambridge: exim/doc/doc-docbook/x2man,v 1.1 2005/06/16 10:32:31 ph10 Exp $ - # Script to find the command line options in the DocBook source of the Exim # spec, and turn them into a man page, because people like that. - - - -################################################## -# Main Program # -################################################## - open(IN, "spec.xml") || die "Can't open spec.xml\n"; open(OUT, ">exim.8" ) || die "Can't open exim.8\n"; @@ -20,18 +11,15 @@ print OUT < + + CTRL-D +.sp +The \\fB-i\\fP option prevents a line containing just a dot from terminating +the message. Only an end-of-file (generated by typing CTRL-D if the input is +from a terminal) does so. +. +.SH "SETTING OPTIONS BY PROGRAM NAME" .rs -.TP 10 +.sp +If an Exim binary is called using one of the names listed in this section +(typically via a symbolic link), certain options are assumed. +.TP \\fBmailq\\fR Behave as if the option \\fB\\-bp\\fP were present before any other options. The \\fB\\-bp\\fP option requests a listing of the contents of the mail queue @@ -72,8 +91,8 @@ Behave as if the option \\fB\\-bi\\fP were present before any other options, for compatibility with Sendmail. This option is used for rebuilding Sendmail's alias file. Exim does not have the concept of a single alias file, but can be configured to run a specified command if called with the \\fB\\-bi\\fP option. - -.SH OPTIONS +. +.SH "OPTIONS" .rs End @@ -96,11 +115,11 @@ while ($next) # Start of new option - if (/^$/) + if (/^(?=