procmail
[Top] [All Lists]

RE: puzzled about a regexp

2003-01-14 12:30:05
procmail(_at_)deliberate(_dot_)net wrote (in some weird character set so that I
had to answer using my Outlook client rather than mailx in the shell):

On Tue, 14 Jan 2003 06:27:31 -0500 (EST), dman(_at_)nomotek(_dot_)com wrote:
=> "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl> wrote:
=> > Doesn't that include whitespace in the regexp?
 
=> No. Line continuation markers allow for such formatting without
=> reading the whitespace into the buffer.
      <snip>
=>        Leading  whitespace on continued regular expression condi­
=>        tion lines  is  usually  ignored  (so  that  they  can  be
=>        indented),  but  not on continued condition lines that are
=>        evaluated according to the sh(1) substitution rules inside
=>        double quotes.

      IOW, ... ignored in simple variable definitions and
simple conditionals but *not* when using "* $ $VARIABLE" type
shell subtitutions in conditional lines? Yes?

No.  "inside double quotes" is critical in the man-page statement
quoted.  (Moreover, sh itself follows the same rule.  That's why
it's called "sh(1) substitution rules.")

Doesn't anybody use a testbed on these questions before lobbing them
out there?

      That brings to mind another question, should I be
concerned about "excessive" use of $VARIABLES with the system
demand of the resulting shell expansions?  I use $VARIABLES (and
therefore need to expand them) in the vast majority of my many
conditionals.

I don't have the background to answer that well, except to say
that my LINEBUF is set to 16K, and I use the bejeezus out of such
vars, and have experienced no problems.

P.S. Yesterday I stated that I hadn't had any viruses in the
longest while.  Suddenly I started getting them immediately
thereafter, four or five so far in about 18 hours, all from
one South American address (probably a spammer with my address
in his cache somewhere).  I don't really care, because my
couple of anti-virus recipes grab them all, and any that slip
through, well, my Windows boxen are fully armed anyway.  But
I can't help wondering if my statement and the sudden influx
are related.  On the off chance that some joker on this list
is playing, well, it's pointless, and you can stop now.  :-)

-- 
Dallman Ross

"If you find a path with no obstacles, it probably does not lead to
anywhere."
        Thoughts of Rev. Sunnan Kubose, from _Zen in the Markets_ 


_______________________________________________
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>