procmail
[Top] [All Lists]

how to match "^[$B" without putting it directly in rc file

2001-08-10 03:40:51
I need a rule to filter mail matching "^[$B.*^[([JB]", where "^[" is
the escape code \033, but without putting the whole sequence in the rc
file.  While on Solaris2.6 it works to put a real escape code right in
the rc file, as in "* $ ^[$B.*^[\([JB]", it won't work on all systems.

I've tried things like the following recipe, but to no avail:
ESCSEQ=`echo "^["`
:0 B
* $ $ESCSEQ\$B.*$ESCSEQ\([JB]

Any ideas?  TIA.

henry nelson
_______________________________________________
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>