]> mj.ucw.cz Git - umpf.git/commitdiff
more fixes for manpage
authorAnicka Bernathova <anicka@anicka.net>
Wed, 22 Jul 2009 17:16:54 +0000 (19:16 +0200)
committerAnicka Bernathova <anicka@anicka.net>
Wed, 22 Jul 2009 17:16:54 +0000 (19:16 +0200)
umpf.1

diff --git a/umpf.1 b/umpf.1
index 91446b112a53d50c260b8f581eb976a5dcb2268c..559f686a910100e54f5dbe97a03b8c842b46ef42 100644 (file)
--- 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: