From: Anicka Bernathova Date: Wed, 22 Jul 2009 17:16:54 +0000 (+0200) Subject: more fixes for manpage X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=635ee39f58d0b3a0621fecb61924697bbd36770d;p=umpf.git more fixes for manpage --- diff --git a/umpf.1 b/umpf.1 index 91446b1..559f686 100644 --- a/umpf.1 +++ b/umpf.1 @@ -57,7 +57,7 @@ braces. .SS ASSIGNMENTS Assignment is specified in a following way: .P -.B "Lvalue = Rvalue ;" +\fILvalue\fB = \fIRvalue\fB ;\fP .P Lvalue is a variable identifier. Rvalue can be variable, a constant (either a string constant that must be given in double quotes or an integer) or an @@ -73,10 +73,10 @@ Actions are specified with an arrow operator. .B "-> ;" means "deliver the e-mail to the default mailbox and exit". .TP -.B "-> expression ;" +\fB-> \fIexpression\fB ;\fP means "deliver the e-mail the mailbox specified behind arrow and exit" .TP -\fB->\fI pipe \fBexpression ;\fP +\fB-> pipe \fIexpression\fB ;\fP means "pipe the e-mail to the external program specified behind pipe keyword". Output of the program is stored in .B $LAST_OUTPUT @@ -84,17 +84,17 @@ variable, its exit code is stored in .B $LAST_EXIT_CODE variable. .TP -\fB-> \fIfilter\fB expression\fB ;\fP +\fB-> filter \fIexpression\fB ;\fP means "pipe the e-mail to the external program and replace it with output of the program". All the header variables, .B $MAIL_LEN and .B $LAST_EXIT_CODE are set accordingly. .TP -\fB-> \fIdiscard\fB ;\fP +\fB-> discard ;\fP means just "discard the email and exit". .TP -\fB -> \fImail\fB expression ;\fP +\fB-> mail \fIexpression\fB ;\fP means "forward the e-mail to the address specifed behind the mail keyword and exit" .TP -1 If action fails, the e-mail is delivered to the default mailbox. @@ -102,7 +102,7 @@ If action fails, the e-mail is delivered to the default mailbox. Some of the actions (delivery or forwarding an e-mail) can have keyword copy in front of the arrow, ie. .P -\fIcopy\fB -> $mailbox;\fP +\fBcopy -> $mailbox ;\fP .P When copy is specified, the program does not exit after doing an action but continues reading the rules. It also does not deliver to the default mailbox if @@ -110,11 +110,11 @@ action fails. .SS CONDITIONS Conditional execution of commands can be specified in a following way: .P -\fIif\fB (condition) { ... } +\fBif (\fIcondition\fB) { \fI...\fB } .P -\fIif\fB (condtion) { ... } \fIelse\fB { ... } +\fBif (\fIcondition\fB) { \fI...\fB } else { \fI...\fB } .P -\fIif\fB (condition) { ... } \fIelse if\fB { ... } [ \fIelse\fB { ... } ]\fP +\fBif (\fIcondition\fB) { \fI...\fB } Ielse if { \fI...\fB } \fI[\fB else { \fI...\fB } \fI]\fP .P where the condition can be a constant, a variable or an expression consisting of following operations: