procmail
[Top] [All Lists]

Re: $@ is driving me crazy

1999-03-23 02:56:45
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.

/* era */

-- 
.obBotBait: It shouldn't even matter whether     <http://www.iki.fi/era/>
I am a resident of the state of Washington. <http://members.xoom.com/procmail/>
 * Sign the European spam petition! <http://www.politik-digital.de/spam/en/> *

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