procmailrc syntax

Zhiliang Hu <[email protected]> Fri, 28 Oct 2016 15:07:27 -0500 (CDT)
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
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=3D`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