procmail
[Top] [All Lists]

Re: Trouble with multi-line MATCH

2000-02-16 11:51:13
Hi!

"SR" == Stan Ryckman <stanr(_at_)sunspot(_dot_)tiac(_dot_)net> writes:

SR> Ralph Sobek wrote:

Also if, I modify the second condition to include
the *next* line, as follows:

* 9876543210^0 B ?? $ ()\/^.*$?.*\<(${words})s?\>.*$?.*

the match fails entirely.

SR> Doesn't $? expand to the exit code of the previous command here?
SR> I'm guessing you'll want ($)? in the two spots that occurs.

I figured that one out, after I sent my request.  In fact, I just
anti-slashed those two occurences of $ followed by ?.  Philip, is
there any difference in efficiency between \$? and ($)?.  Do they mean
the same thing?

SR> Hope that helps,

Thanks!

        --Ralph

Dr. Ralph P. Sobek                Disclaimer: The above ruminations are my own.
Ralph(_dot_)Sobek(_at_)irit(_dot_)fr                       Addresses are 
ordered by importance.
sobek(_at_)irit(_dot_)fr                                        If all else 
fails, try:
                                                   ralph at laas.fr
Ph:(+33)[0]561558618 FAX:(+33)[0]561556258 http://www.irit.fr/~Ralph.Sobek/
===============================================================================
The truth about the Past is really all we have to guide us in the Present
                                                    -- Mary Benson (1964)