Does the ']' 'attached' to the ',' not give evaluation problems?
alias eval1 {
var %i = $$1-,%o = [ [ %i ]
],%o = $iif(%o != $null,$ifmatch,$!null)
goto end
:error
var %o = $gettok($gettok($error,1,40),2-,32)
reseterror
:end
echo -a * %i == %o
}
Does
alias eval1 {
var %i = $$1-,%o = [ [ %i ] ] ,%o = $iif(%o != $null,$ifmatch,$!null)
goto end
:error
var %o = $gettok($gettok($error,1,40),2-,32)
reseterror
:end
echo -a * %i == %o
}
give the same probs as $eval ?