[Top ][All Lists ]
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: [Help-bash] declare -i
From :
Greg Wooledge
Subject :
Re: [Help-bash] declare -i
Date :
Thu, 10 May 2012 08:08:49 -0400
User-agent :
Mutt/1.4.2.3i
On Wed, May 09, 2012 at 07:18:51PM -0600, Bill Gradwohl wrote:
> array[-1]=blahBlah
Array indices have to be non-negative integers. If you want to use
negative integers as indices, then you must do it with an associative
array (in which case -1 would be treated as a two-character string).
Re: [Help-bash] declare -i , (continued)
Re: [Help-bash] declare -i , Bill Gradwohl , 2012/05/09
Re: [Help-bash] declare -i , Chet Ramey , 2012/05/09
Re: [Help-bash] declare -i , Bill Gradwohl , 2012/05/09
Re: [Help-bash] declare -i , Greg Wooledge , 2012/05/09
Re: [Help-bash] declare -i , Bill Gradwohl , 2012/05/09
Re: [Help-bash] declare -i , DJ Mills , 2012/05/09
Re: [Help-bash] declare -i , Greg Wooledge , 2012/05/09
Re: [Help-bash] declare -i , Chet Ramey , 2012/05/09
Re: [Help-bash] declare -i , Bill Gradwohl , 2012/05/09
Re: [Help-bash] declare -i , Dan Douglas , 2012/05/09
Re: [Help-bash] declare -i ,
Greg Wooledge <=
Re: [Help-bash] declare -i , Bill Gradwohl , 2012/05/10
Re: [Help-bash] declare -i , Chet Ramey , 2012/05/10
Re: [Help-bash] declare -i , Greg Wooledge , 2012/05/10
Re: [Help-bash] declare -i , Chet Ramey , 2012/05/10
Re: [Help-bash] declare -i , Dan Douglas , 2012/05/10
Re: [Help-bash] declare -i , Bill Gradwohl , 2012/05/10
Re: [Help-bash] declare -i , Clark WANG , 2012/05/09
Re: [Help-bash] declare -i , Chet Ramey , 2012/05/09
Re: [Help-bash] declare -i , lxnf98mm , 2012/05/09
Re: [Help-bash] declare -i , Greg Wooledge , 2012/05/09