procmail
[Top] [All Lists]

Re: Error while writing to <mbox file>

2005-10-03 21:14:12
* mindfuq(_at_)verizon(_dot_)net <mindfuq(_at_)verizon(_dot_)net> [2005-10-04 
01:57]:

   :0
   *$ 1^0 ^Date:.*(Jan|Feb|Mar)
   *$ 2^0 ^Date:.*(Apr|May|Jun)
   *$ 3^0 ^Date:.*(Jul|Aug|Sep)
   *$ 4^0 ^Date:.*(Oct|Nov|Dec)
   { STATED_QUARTER = $=}

Looks like I just uncovered a procmail defect.  The right brace above
is included in the left hand side variable:

   procmail: Score:       0       0 "^Date:.*(Jan|Feb|Mar)"
   procmail: Score:       0       0 "^Date:.*(Apr|May|Jun)"
   procmail: Score:       0       0 "^Date:.*(Jul|Aug|Sep)"
   procmail: Score:       4       4 "^Date:.*(Oct|Nov|Dec)"
   procmail: Assigning "STATED_QUARTER=4}"

I had to add a space before the close brace in order for the procmail
parser to see that the close brace matches the open brace.

____________________________________________________________
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