procmail
[Top] [All Lists]

Re: capturing the OR that succeeds ???

2004-05-14 06:37:15
On Fri, May 14, 2004 at 08:02:29AM -0500, David W. Tamkin wrote:

   MATCH # don't load it with eee; there may be no alphabet soup at all

   :0 B D fw h
   * aaa|bbb|ccc|ddd|eee
   * 9876543210^0 ()\/aaa
   * 9876543210^0 ()\/bbb
   * 9876543210^0 ()\/ccc
   * 9876543210^0 ()\/ddd
   * 1^0
   | formail -I "X-Procmail: alphabet soup: ${MATCH-eee}"

Heh.  I especially like that little twist at the end.


   :0 A
   alphabet/soup

-- 
dman

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