Toen wij Dallman Ross kietelden, kwam er dit uit:
REM = '$ ^^($myrem)?' # can be placed in an initiation var-file
# as an INCLUDERC if desired
How about REM = ' $ ^${:+$myrem}'
A start-space prevents $$$ running together, which would form a $$
which returns the PID.
Yes, that is a nice debugging technique, that can replace the
'before-recipe-A' log-line, and more.
To replace an 'after-A' log-line, you can use
myrem = 'recipe-A'
:0 # recipe-A
*$ $REM
* further conditions
action
myrem = "after $myrem"
:0
*$ $REM
{ }
When VERBOSE=on, this would not show both the setting of LOG
and the LOG-line, resulting in a much cleaner log. But you
already said so.
--
Grtz, Ruud
____________________________________________________________
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