procmail
[Top] [All Lists]

Re: simple manpage question: procmailrc and comments

2001-02-06 12:16:55

Can someone provide an example here? I also have done that and maybe I'm
having a problem I didn't know about [g].

Hank


On Tue, 6 Feb 2001, Joe Altman wrote:


from the procmailrc man page:

Comments
       A  word  beginning with # and all the following characters
       up to a NEWLINE are ignored.  This does not apply to  con-
       dition lines, which cannot be commented.

CAVEATS

Par. 2:
Don't  put  comments  on  the regular expression condition lines in a
recipe, these lines are fed to the internal egrep literally (except
for continuation backslashes at the end of a line).

My question:

Obviously, I can physically put a comment in front of a condition
line; and do so all the time; it works just fine regardless of the man
page statement that condition lines cannot be commented. So there is
some sort of minor paradox here. What am I missing?

Is it the case that procmail parses the comment on the flag line, and
skips condition and action line(s)?

Thanks,

ja

panix
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail