I have a macro:
macro -p / { run -c /SYS/SCRIPTS/wDown $pargs
(yes I define { as a macro - anyway this applies to any macro)
the first line is
echo $argc
so when I type:
{
I get:
argc = 2
and $arg1 is empty.
but if I
run -c /SYS/SCRIPTS/wDown
I get
argc = 1
I believe this is due to variables (ie $pargs) sometimes expanding to actual space - it may be an old problem since I remember it from the dawn of time popping up now and then) - how do I get around it so that running the script OR the macro results in the same behavior based on $argc > 1?
d