procmail
[Top] [All Lists]

Re: what does 1^0 mean ?

2001-12-21 14:41:47
This syntax leaves me gasping.  Has anyone thought of doing a compiler to
generate this from a C like source?

Rick Leir         rleir(_at_)igs(_dot_)net
613-828-8289 http://www.igs.net/~rleir/

I tend to think of C# as Java with Security, Reliability and
Productivity deleted. -- James Gosling

On Thu, 20 Dec 2001, David W. Tamkin wrote:

There isn't a general way to mix ANDs and ORs, but usually something can be
figured out.  For that example, where an action should be executed if both A
and B are true, or if C, D, or E is true,

 :0 flags
 * 2147483647^0 C
 * 2147483647^0 D
 * 2147483647^0 E
 * -1^0
 * 1^0 A
 * 1^0 B
 action

If C is true, skip ahead and do the action; else
if D is true, skip ahead and do the action; else
if E is true, skip ahead and do the action; else
if both A and B are true, do the action; else
don't do the action.

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