procmail
[Top] [All Lists]

Re: non-INCLUDERC-ing string-splitter

2005-01-12 05:38:09
On Tue, Jan 11, 2005 at 10:29:11PM -0800, Bart Schaefer wrote:

I'd also say that, if there were any danger of someone beginning to
maintain procmail again, the use of a leading $ in a variable's value
to re-expand the rest of the value is exactly the sort of thing that
I'd expect to be treated as a bug and therefore to stop working at
some point.  Consider:

LOOP='$ $LOOP'
:0
* $ $LOOP
{ }

I can't believe that behavior is intentional, although your
exploitation of it is quite clever.

Wow.

Yeah, but if we can somehow get $LOOP to be something else after
a certain time, we'd have a procmail "sleep" statement.  :-)

(Well, I suppose we could run an INCLUDERC now x number of times,
hmm.)

Dallman

____________________________________________________________
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

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