Well, I got these wrong, didn't I?
SEVEN=1234567 # any seven-character string
# MATCH at this point is the date within the month
:0
* $ SEVEN ?? 1^1 < $MATCH
* 1^0
{ WEEK = $= }
A modification of that -- substitute a comparable modification of the
way the foregoing should have read if it was wrong -- would be,
DOT=.
:0
* $ DOT ?? 7^1 < $MATCH
* 1^0
{ WEEK = $= }
Sorry. Fixed now, at least fixed of the bug I caught.
____________________________________________________________
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