procmail
[Top] [All Lists]

Re: parsing table

2002-07-11 12:35:28
| I've got this in my .procmailrc:
|
|   section_list = "{ ENV : PRE : SPECIAL : HEADERS : MY_DOMAINS : \
|                     WHITELISTS : SPAM : VIRUS : VACATION }"

I've got it too.  It's going around.

Seriously, what does

 LOG=`echo "$section_list" | cat -v`
or
 LOG=`echo "$section_list" | od -c`
or even
 LOG="$section_list$NL"

generate?  Apparently within quotes like that, procmail doesn't strip leading
whitespace, and your options are writing continuation lines flush left or (as
you did) allowing for more than one space character.  At least that's how my
tests come out.



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

<Prev in Thread] Current Thread [Next in Thread>