Date: Fri, 20 Sep 1996 14:52:29 +0200 (SAT) From: Ryan Loots <ryan@donald.iafrica.com> To: FreeBSD questions <questions@freebsd.org> Cc: Sheldon Hearn <sheldonh@iafrica.com> Subject: Re: egrep and Variables Message-ID: <Pine.BSF.3.95.960920145137.18308k-100000@donald.iafrica.com> In-Reply-To: <Pine.LNX.3.95.960920143453.6533G-100000@axl.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi There I would like to alter my .procmailrc to allow searches for strings in variable names, for example: ====snip==== LOCALDOMAINS=(blah.com|blah.co.za|blah.org.za) :0: *TOjsmith@$LOCALDOMAINS /home/jsmith/mail/personal ====snip==== Of course, the problem with this is that egrep '$LOCALDOMAINS' looks for the text 'LOCALDOMAINS' after an end of line. How cute. Any suggestions on how to force the egrep that procmail spawns to search for variable names would be welcome. :) ____ Ryan _____________________ UUNet Internet Africa http://donald.iafrica.com It is the business of little minds to shrink. -- Carl Sandburg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960920145137.18308k-100000>