|
From: | Bill Gradwohl |
Subject: | Re: [Help-bash] declare -i |
Date: | Wed, 9 May 2012 14:43:31 -0600 |
You're aware of this issue, right?
imadev:~$ unset intArray
imadev:~$ declare -i -a intArray
imadev:~$ xyz=42
imadev:~$ intArray=(5 2 1 -19 xyz)
imadev:~$ declare -i -a
declare -ai intArray='([0]="5" [1]="2" [2]="1" [3]="-19" [4]="42")'
Just making sure.
[Prev in Thread] | Current Thread | [Next in Thread] |