Tony Jago <tony(_at_)fit(_dot_)qut(_dot_)edu(_dot_)au> writes:
I am using procmail v3.11pre4 1995/10/29 so I guess thats not the
problem. This is what I have been using to test it:
...
If I use this script:
DUDE="$@"
To quote the procmailrc(5) manpage's BUGS section:
BUGS
... When the -a or -m options are
used, "$@" will expand to respectively the specified argu-
ment (list); but only when passed as in the argument list to
a program.
Philip Guenther
Thanks for your help so-far Philip,
I have changes my script to:
LOGFILE=/tmp/logger
VERBOSE=yes
:0
| echo "$@" > /tmp/result
and it still does not work! I get this in the logfile:
procmail: [25226] Wed May 1 10:11:11 1996
procmail: Executing " echo "$@" > /tmp/result"
procmail: [25226] Wed May 1 10:11:11 1996
procmail: Assigning "LASTFOLDER= echo "$@" > /tmp/result"
Folder: echo "$@" > /tmp/result
Hmmmmmmm.. Can anybody give me a sample script which demonstrates this
working?
---
Tony Jago, System Administrator, E-Mail:
T(_dot_)Jago(_at_)fit(_dot_)qut(_dot_)edu(_dot_)au
Faculty of Information Technology, Web: http://www.fit.qut.edu.au/staff/~tony
Queensland University of Technology.
Box 2434, Brisbane 4001, AUSTRALIA. "We need more horsepower!"
Phone: +61 7 3864-2573 Fax: +61 7 3864-1959