procmail v3.10 (I'm stuck with it) under SunOS 4.1.4.
I am wondering if is is legal to have a regexp in a variable.
In various places in my recipes, I use the variable $MY_ADDR,
which is currently set at the top of the hierarchy as
MY_ADDR=pobart(_at_)access(_dot_)digex(_dot_)net
which is my generic address.
However, a regexp to catch all actual legal permutations of
my email address in conditions is
pobart@(mail[1-5]?\.)?access[1-5]?\.digex\.net
In order to cut down on typographical errors as well as a
lot of typing, would it be legal to put the regexp into
$MY_ADDR ? If not, is there another technique for
accomplishing the same thing? The man page is not quite
clear to me, as I do not know "sh(1) substitution rules
inside double quotes." (I use csh.)
Thanks much.
Paul <pobart(_at_)access(_dot_)digex(_dot_)net>
..........................................................
Paul O. Bartlett, P.O. Box 857, Vienna, VA 22183-0857, USA
Finger, keyserver, or WWW for PGP 2.6.2 public key
Home Page: http://www.access.digex.net/~pobart