procmail
[Top] [All Lists]

procmailrc syntax

2016-10-28 15:11:01
Although I used procmail for so long I never figure out what kind of "script" rules it follows. For example in one of my rc script I try to calculate a list file ("dist"):

  DISTCOUNT=`grep -cv '^(' dist` -1

the calculation part fails, end up in the log:

  procmail: Skipped "-1"

How can I get over this without getting it to external script for a simple calculation like this?

Zhiliang
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

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