procmail
[Top] [All Lists]

Re: Filtering this list - sed usage

2004-08-01 13:25:25
* Dallman Ross <dman(_at_)nomotek(_dot_)com> [2004-07-31 08:09]:

 :0 D  # 040430 () normalize case of Return-Path
 * RP ?? [A-Z]
 { rp = `echo "$RP" | tr '[:upper:]' '[:lower:]'` }

That's a good point.  I'm doing potentially unnecessary case
conversions for every mailing list message.  But then if I inject this
code above in every instance, I think it would come at the cost of
readability.  What I'll probably do is encapsulate that in a single
file, then do an INCLUDERC whenever I need to set the listname
variable.  

I've been wondering how long the $MATCH variable persists after it's
set.  Is $MATCH cleared upon exiting a recipe?

____________________________________________________________
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>