$@ isn't working as documented, and I wonder if anyone can see what I
obviously can't...
Here's the procmail rcfile:
--------------------
jhardin(_at_)gypsy ~/gonzo/test $ cat test.rc
LOGFILE=testlog
LOGABSTRACT=no
NL="
"
LOG="\$(_at_)="
:0 ciw
| echo '{' $@ '}' >> $LOGFILE 2>&1
LOG="\$1=\"$1\"${NL}"
LOG="\$2=\"$2\"${NL}"
LOG="\$3=\"$3\"${NL}"
LOG="\$4=\"$4\"${NL}"
HOST
---------------------
Here's the command line:
procmail -m test.rc ARG1 ARG2 ARG3 < xx03
(where xx03 has some unimportant junk in it)
And here's what's logged:
---------------------
jhardin(_at_)gypsy ~/gonzo/test $ cat testlog
$(_at_)={ }
$1="ARG1"
$2="ARG2"
$3="ARG3"
$4=""
---------------------
Why the heck is $@ coming up empty? It's in a command line!
Versions:
procmail-3.12-2
Linux 2.0.36
--
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!
-----------------------------------------------------------------------
57 days until Star Wars episode I