procmail
[Top] [All Lists]

Re: Syntax of scoring command negation

1997-02-06 10:14:27
Ken Marsh <kmarsh(_at_)charm(_dot_)net> writes:
I snipped all side discussion to get back to the original question,
which is repeated at the bottom.
...
Here is my request (posted to the list because I'd still like an
answer):

What syntax fulfils this description in the procmailsc man page,
where the return value of the program is used in the scoring
recipe:

PROCMAILSC(5)                                       PROCMAILSC(5)
...
Weighted program conditions
      If  the  program....

      If the exitcode of the program is negated, then, the exit-
      code  will be considered as if it were a virtual number of
      matches.  Calculation of the added score then proceeds  as
      if  it  had been a normal regular expression with n=`exit-
      code' matches.


I think this is a fairly simple question. We just got sidetracked
by an (apparently) incorrect answer.

* w^x ! ? command
  --- - ---------
   |  |     |
   |  |     |
   \__|_____|______ a weighted
      |     |
      \_____|___________ negated
            |
            \_______________ command condition


Philip Guenther