proclint - Lint procmail rc files for proper syntax
Contents
Bugs
There are many bugs. E.g. multiline handling is not done (continued strings).
Please regard the output as advisory only.x
Description
Check procmail rc files for proper syntax, recipe nesting, etc. The output consists of:
"LINE-NUMBER:FLAG:DEPTH: text". FLAG is one of:
R recipe
C condition
A action (redirect, '!', or pipe, '|')
F folder
= assignment
+ continuation
E *line may be erroneous*
DEPTH indicates the depth of the recipe nesting and is shown only when greater than zero.
Environment
None.
Files
None.
Name
proclint - Lint procmail rc files for proper syntax
Options
-h,--help
Display short help.
-i,--includerc
Scan and possibly list files included in code with INCLUDERC statements.
-I,--noinclude
Do not scan INCLUDERC references (default).
-l,--list
List lines in the procmail recipe files.
-L,--nolist
Do not list lines, except for errors (default).
-p,--procmailrc
Check $HOME/.procmailrca
See Also
procmail(1)
Status Codes
Program returns non-zero in case problem is found.
Synopsis
proclint [options] <procmail *.rc files>
