On Thu, Apr 01, 2021 at 02:54:55PM -0700, Greywolf wrote: > the requirement > to have ${var[ix]} instead of honouring $var[ix] with regard to arrays > is another one).
Before the introduction of arrays, $var[ix] already had a meaning: the value of the "var" parameter, followed by the 4-character string [ix]. Redefining $var[ix] to mean the same thing as ${var[ix]} would have broken existing scripts.