On 2/4/14, 5:17 PM, phil colbourn wrote:
> Bash Version: 4.2
> Patch Level: 45
> Release Status: release
>
> Description:
> declare -ia not enforced if variable is initiated using =
Correct; bash applies the integer attribute after the variable assignment.
It has been this way since arrays were introduced (well, at least as far
back as bash-3.2; that's when I stopped looking).
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/