procmail
[Top] [All Lists]

Re: More Bouncing off of Infinity

2003-01-13 06:28:49
"Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl> wrote:

Dallman Ross skribis:

P.S.  Another good use for "IB" will be to save a preset, manageable
number of chars to a MATCH variable for later manipulation and

That would then also be a way to chop off '-owner' from the end of 
a string-value?

Not quite sure how you're thinking of applying it.  But chopping off
"-owner" is not really a problem.

     SOMEMATCH = your-text-but-with-possible-unwished-for-owner

    :0  # an `A' flag may be appropriate here
     *  SOMEMATCH  ?? ^^\/.*-owner^^
     *  MATCH  ??  ^^\/.*-
     *  MATCH  ??  ^^\/.*[^-]
     { MYMATCH = $MATCH }


Thanks, David Tamkin, for showing me that aeons ago.

-- 
dman


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

<Prev in Thread] Current Thread [Next in Thread>