procmail
[Top] [All Lists]

Re: recipe flag sequence

1997-11-05 12:04:33
| Wed 97-11-05 dattier(_at_)wwa(_dot_)com (David W. Tamkin) list.procmail
| 
| ...I've found two limitations on permuting the flags:
| 
| 1. If you specify a number (and ever since asterisk notation was introduced,
| most of us do on all recipes) rather than letting procmail expect the default
| number of conditions, the number MUST be first after the introductory colon.

Thanks for the note. Now the Lint will find and correct these cases.
Implemented in tinypm.el v1.47


    # CHECK: Error, No space after colon allowed
    : 0:
    mbox


    # CHECK: Error, old style receipe start. Must use :0 now
    #       Yes, this would be legal in procmail, but made illegal in Lint
    :2:
    mbox

    # CHECK: Error, old style receipe start.
    : 2 A:
    mbox


jari