procmail
[Top] [All Lists]

Re: Error while writing to <mbox file>

2005-10-04 06:08:44
* Cerebus the Aardvark <gkreme(_at_)gmail(_dot_)com> [2005-10-04 03:11]:
On 10/4/05, mindfuq(_at_)verizon(_dot_)net <mindfuq(_at_)verizon(_dot_)net> 
wrote:
* 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:

That's not a defect in procmail, but a defect in the original post.

{ STATED_QUARTER = $= }

note the space

It's required, and it's documented.

If it's required, why is no error generated?  Is it valid procmail
code to have an unclosed 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