procmail
[Top] [All Lists]

Re: running two scripts within one recipe

2009-07-17 21:38:26
* Chris asked:
:0c
* ^X-Spam-Flag: YES
| /home/chris/Test/remove-sa-markup
| /home/chris/Test/sreporter.pl

A recipe has *one* action (which can be a block in braces, though), so
the second line is just ignored here. If you want to pipe the output of
remove-sa-markup into sreporter.pl, either write the complete pipe on
one line:

:0c
* ^X-Spam-Flag: YES
| /home/chris/Test/remove-sa-markup | /home/chris/Test/sreporter.pl

or use a backslash to escape the first end of line:

:0c
* ^X-Spam-Flag: YES
| /home/chris/Test/remove-sa-markup \
| /home/chris/Test/sreporter.pl

/HW
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>