procmail
[Top] [All Lists]

Re: capturing the OR that succeeds ???

2004-05-14 10:03:12
Ruud streamlined it a little too much:

Optimizing combination:

      MATCH # unset

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

      :0 A
      alphabet/soup

If ddd and eee are both present but eee occurs before ddd shows up, it will pick up eee.


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