procmail
[Top] [All Lists]

Re: Duplicates sent from lists

2004-02-17 19:20:15
On 17 Feb 2004, at 16:24, Professional Software Engineering wrote:

At 15:52 2004-02-17 -0700, LuKreme wrote:

LISTCACHE=$HOME/.listposts
ISLISTED=`grep -i "^$LISTNAME" $LISTCACHE`

BZZZT. Thanks for playing. Your problem is on copies of messages WHICH DO NOT ORIGINATE FROM THE LIST, $LISTNAME won't be defined.

Right. Basically, what I need to do is see if there is a match in the intersection of ^TO_ and $LISTCACHE. `comm` doesn't appear to be up to the task. May be able to cobble together something with fgrep?

--
"I program Windows - of course it isn't safe."  - Meski


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>