On Fri, Dec 31, 2010 at 11:38 AM, <dnade....@orange-ftgroup.com> wrote:
> Hello > > For regular arrays, we can get the list of keys by using the form > ${!some_arr...@]}. > But this just doesn’t work for associative arrays. > > ${!some_associative_arr...@]} is actually 0. Is that a bug ? > Is there another way to get the list of keys available in an associative > array ? > $ declare -A a;a[foo]=bar;a[baz]=bux;echo ${...@]} baz foo