procmail
[Top] [All Lists]

Re: variables (for an exit code)

2002-10-10 03:37:39
From: "David W. Tamkin" <dattier(_at_)panix(_dot_)com>

consider the cleanest way (note the space between the braces):

 :0HB
 * 1^1 ! ? /usr/bin/foo
 { }
 exitstatus = $=

Why scoring, David?  And why 1^1 as opposed to 1^0?

Also, what about the current bug with the H flag on top,
where it then can't be turned off later in the .procmailrc?

 :0 hw
 * HB ??  ! ? /usr/bin/foo
 { }
 exitstatus = $=

Might be my choice.  (I haven't double-checked the syntax
against my instinct.)

-- 
dman

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