On Thu, May 10, 2012 at 09:52:45AM -0400, Chet Ramey wrote:
> Where does the man page say it's ok to use negative subscripts when
> assigning arrays?
Second paragraph of "Arrays":
An indexed array is created automatically if any variable is assigned
to using the syntax name[subscript]=value. The subscript is treated
as an arithmetic expression that must evaluate to a number. If
subscript evaluates to a number less than zero, it is used as an
offset from one greater than the array's maximum index (so a subcript
of -1 refers to the last element of the array).