X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/b45832155544997e87ccb893a9fd2cb65bfbfdf7..fa309239620364ef0f161ba6fa2ed67f372ab510:/doc/doc-docbook/x2man diff --git a/doc/doc-docbook/x2man b/doc/doc-docbook/x2man index 430d7d627..030cc9853 100755 --- a/doc/doc-docbook/x2man +++ b/doc/doc-docbook/x2man @@ -1,6 +1,6 @@ #! /usr/bin/perl -w -# $Cambridge: exim/doc/doc-docbook/x2man,v 1.5 2006/09/12 10:15:11 ph10 Exp $ +# $Cambridge: exim/doc/doc-docbook/x2man,v 1.7 2007/01/23 12:13:50 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. @@ -20,18 +20,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 @@ -82,8 +100,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 @@ -144,11 +162,11 @@ while ($next) $optstart = 0; } - # Literal layout needs to be treated as a paragraph, and indented + # Literal layout needs to be wrapped with .sp, and indented. if (/]*>/.P/; + s/]*>/.sp/; $indent = " "; } @@ -156,8 +174,8 @@ while ($next) # Others get marked - s//.P/; - s//.P/; + s//.sp/; + s//.sp/; # Skip index entries @@ -192,11 +210,6 @@ while ($next) next if /^\s*$/; - # It turns out that we don't actually want .P; a blank line is needed. - # But we can't set that above, because it will be discarded. - - s/^\.P\s*$/\n/; - # We are going to output some data; sort out special characters s/</