logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

proclint - Lint procmail rc files for proper syntax

Authors

       Program was written by Alan K. Stebbens <aks@sgi.com>.

       This manual page was written by Jari Aalto <jari.aalto@cante.net>.  Released under license GNU GPL v2  or
       (at    your    option)    any    later    version.    For   more   information   about   license,   visit
       <http://www.gnu.org/copyleft/gpl.html>.

proclint                                           2008-12-09                                        proclint(1)

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>

See Also