Ralph Barbagallo <rbarbaga(_at_)cs(_dot_)uml(_dot_)edu> writes:
:0 :Orders.lock
|(formail -r ; $HOME/IVPR/OrderProcess $HOME/Mail/Orders;
cat $HOME/IVPR/Out_Order) | $SENDMAIL -oi -t
From the procmailrc(5) manpage:
CAVEATS
Continued lines in an action line that specifies a program
always have to end in a backslash, even if the underlying
shell would not need or want the backslash to indicate con-
tinuation. This is due to the two pass parsing process
needed (first procmail, then the shell (or not, depending on
SHELLMETAS)).
Put a backslash after the semicolon.
Philip Guenther
----------------------------------------------------------------
Philip Guenther UNIX Systems and Network Administrator
Internet: guenther(_at_)gac(_dot_)edu Phonenet: (507) 933-7596
Gustavus Adolphus College St. Peter, MN 56082-1498
Source code never lies (it just misleads). (Programming by Purloined Letter?)