procmail
[Top] [All Lists]

Re: more tweaking

1999-11-21 09:03:23
Happily following up on myself again. Hold those killfiles, people;
I'll shut up now.

On Sun, 21 Nov 1999 17:46:55 +0200 (EET), era eriksson <era(_at_)iki(_dot_)fi>
wrote:
On Sun, 21 Nov 1999 07:04:51 -0800 (PST), Dallman Ross
<dman(_at_)netcom(_dot_)com> wrote:
The braces are not strictly necessary, in the sense that you can
certainly put the assignment outside of the braces:

    :0  # incidentally, another "gratuitous" paren which is very necessary
    * ()\/moo
    { } 

    MOO=$MATCH

There are subtle differences, of course. Anything inside braces is
conditional, and will happen only if the conditions governing the
braces are true. So on the other hand, in the above case, if "moo"
wasn't grabbed, (the emptiness between the braces would not be
executed, but) MOO would (still) be set to the empty string (or
whatever MATCH happened to contain because of some earlier recipe)
which is perhaps not what you want.

I'd still be willing to bet that the truth behind what you're seeing
is that what you are executing simply isn't a standard Sendmail, and

Looks like I just lost a bet, folks :-)

/* era */

-- 
 Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
  Fight spam in Europe: <http://www.euro.cauce.org/> * Sign the EU petition

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