elijah(_at_)netusa(_dot_)net asked,
| Does procmail support stuff like:
|
| FLAGS=W
| USELOCK=stage-one-lock
|
| :0 $FLAGS : $USELOCK
| * some-condition
| | eval $SOME_ACTION
No, because it will not find an executable named "eval" in any directory
in $PATH. This may work:
:0 $FLAGS : $USELOCK
* some-condition
| $SOME_ACTION
And this should always work, depending on the effect of eval on the contents
of $SOME_ACTION, because the semicolon will force a shell, which will under-
stand "eval" (if your $SHELL is set to something that doesn't understand
"eval", then I would assume you wouldn't try this anyway):
:0 $FLAGS : $USELOCK
* some-condition
| eval $SOME_ACTION ; # or eval "$SOME_ACTION" ;
# or even eval \'"$SOME_ACTION"\' ;