At 08:04 2008-09-16 -0600, LuKreme wrote:
Huh? Why the extra level of braces?
Makes logical sense to me to have the conditions for something and
then the action for those conditions in two logical blocks.
And yet, the inner recipe has but one CONDITION, and that is what extracts
the header content. Is this not a _condition_ which should be part of the
collection of other conditions?
{ LOG = "$MATCH
" }
Why is putting quotes around the $MATCH better?
{ LOG = ${MATCH}$NL }
Out of habit, I always enclose my log output in quotes. But I also use an
$NL for inserting newlines, rather than hard-coding them into the quoted
string, which IMO, is asking for trouble, at least in recipes which
eventually get distributed to others.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
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