help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] declare -i


From: Chet Ramey
Subject: Re: [Help-bash] declare -i
Date: Thu, 10 May 2012 09:52:45 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

On 5/10/12 9:08 AM, Bill Gradwohl wrote:

> If they work just fine on the _r_ight _h_and _s_ide, why not on the left?
> 
> The docs say this is legal, just don't mention its only legal on the RHS.

Where does the man page say it's ok to use negative subscripts when
assigning arrays?  It describes what happens in the contexts where you
can use negative subscripts to reference an array.  Are you saying that
you assume that extends to assignment?

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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