procmail
[Top] [All Lists]

Re: * VARIABLE ?? 'text' problem

1995-12-19 18:02:39
    PROCESSED = 'FALSE'

[ snip ]

    :0:
    * PROCESSED ?? "FALSE"
    $ORGMAIL

The problem is that, even when PROCESSED is still set to FALSE, the
second to last recipe always fails, and the mail is sent to /dev/null.

The problem is that the double-quotes (") are themselves failing to
match.  Quotes are not special in a regexp, and thus must be literally
matched when they occur in one.

You probably want this:

    :0:
    * PROCESSED ?? FALSE
    $ORGMAIL

Quotes are *only* useful on an assignment or in a shell invocation where
they are used to stop whitespace, or other break-character processing.

Alan


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