On Tue, 23 Mar 1999, era eriksson wrote:
On Mon, 22 Mar 1999 20:50:34 -0600, Philip Guenther
<guenther(_at_)gac(_dot_)edu>
wrote:
> "John D. Hardin" <jhardin(_at_)wolfenet(_dot_)com> writes:
>> $@ isn't working as documented, and I wonder if anyone can see what I
> I could have sworn this limitation was documented somewhere in the
> manpages, but I can't find it now:
$ man procmailrc | colcrt | fgrep -A10 BUGS
BUGS
The only substitutions of environment variables that can be handled by
procmail itself are of the type $name, ${name}, ${name:-text},
${name:+text}, ${name-text}, ${name+text}, $#, $n, $$, $?, $ , $- and $=;
whereas $_ will be substituted by the name of the current rcfile, $- by
$LASTFOLDER and $= will contain the score of the last recipe. When the -a
or -m options are used, "$@" will expand to respectively the specified ar-
gument (list); but only when passed as in the argument list to a program.
...which says nothing about the presence or absence of $SHELLMETAS
characters in that argument list, which was the subject of Philip's
comment, and which was breaking my test program.
--
John Hardin KA7OHZ
jhardin(_at_)wolfenet(_dot_)com
pgpk -a finger://gonzo.wolfenet.com/jhardin PGP key ID: 0x41EA94F5
PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5 E9 BF C8 33 A7 A9 CE 76
-----------------------------------------------------------------------
In the Lion
the Mighty Lion
the Zebra sleeps tonight...
Dee de-ee-ee-ee-ee de de de we um umma way!
-----------------------------------------------------------------------
56 days until Star Wars episode I