procmail
[Top] [All Lists]

Re: Appending FROM: headers only to a local file

2008-09-16 12:10:10
Kreemy,

Makes logical sense to me to have the conditions for something and
then the action for those conditions in two logical blocks.

Not to me. It just looks splayed out and inefficient: more lines to scroll past and more text for procmail to process.

Why is putting quotes around the $MATCH better?

{ LOG = ${MATCH}$NL }

$NL is not a built-in in procmail, and when you're writing a recipe for somebody else, you can't assume that the person has assigned it in his/her code. On the other hand, a literal newline inside quotes works for everybody.

Also, those inner braces are not needed.
____________________________________________________________
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>