procmail
[Top] [All Lists]

Re: original date (again)

2001-09-08 12:32:26
But, the last Message with Thanks to you sent on 21:18 from me
appears in my .procmail/ dated with 19:18 ?

--
Frank


I say thank you for your Help
everything works fine now : -)

Should this Prob with original Date and Dialup Connections add to the Faq

--
Frank


"Frank" <duranicub(_at_)gmx(_dot_)net> writes:
...
procmail: Assigning "DATE= 8 Sep 2001 18:29:30 -0000
"
procmail: Assigning "MATCH="
procmail: Matched "8"
procmail: Match on "()\/[0-9]+"
procmail: Assigning "DAY=8"

Here's the problem: I forgot to pad the date to two digits.  So, after
the following recipe in what I sent you before:

:0
* DATE ?? ()\/[0-9]+
{ DAY = $MATCH }

insert this one:

# If the day isn't two digits, prepend a zero
:0
* ! DAY ?? ..
{ DAY = "0$DAY" }


Philip Guenther




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



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