That's a follow-up on

Is there anything in the POSIX spec that allows:

x[ foo

To be interpreted as anything other than invoking the "x["
command with "foo" as argument?

I had the vague recollection that there was but I can't find it
now. If there's not, that would be a bug in the spec as several
shells including ksh, bash, zsh, yash treat it as the start of
an array element assignment (like in:

x[ foo
+ 1]=value


Reply via email to