On Monday, Jan 20, 2003, at 05:41 Canada/Mountain, Dallman Ross wrote:
{ FROM_ = $MATCH
:0 # 021211 () find year in FROM_
* FROM_ ?? ()\/....^^
Mightn't that match "-0600" if the date is in "Thu May 2
09:45:18 2002 -0600" format? (oh, wait, never mind. That would
be seen as a 5 character word, right?)
Not only would it not do that for the reason you state, it would,
further, not do that because the From_ line is never formatted that
way. The
From_ line is consistent. It ends in a year. That is, your proposed
issue will never arise.
Hmm.. I thought I pasted that from line directly from a email.
I am, basically, sliding the string I found somewhere above, which
I'd saved to $MONTH, across my MMtable to land on a match and thereby
be able to capture the respective numerical translation for the
month as represented in my table. (I had supplied $MMtable in the
mail to which you have responded.)
Yeah, I understood what it was doing, just no HOW it's doing it. Will
have to look at that one a *lot* more.
:0 E # 021211 () replace space as necessary
{ DD = 0$MATCH }
Or that.
That solves the problem of converting " 9" to "09" for the date of
the ninth of the month.
Ah. Right. Yes, clever that.
--
Far away, across the fields, the tolling of the iron bell calls the
faithful to their knees to hear the softly spoken magic spells.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail