[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: select syntax violates the POLA

From: Greg Wooledge
Subject: Re: select syntax violates the POLA
Date: Thu, 1 Apr 2021 18:30:03 -0400

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]