bug-bash
[Top][All Lists]
Advanced

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

Re: compgen -A arrayvar does not include associative arrays


From: Chet Ramey
Subject: Re: compgen -A arrayvar does not include associative arrays
Date: Fri, 22 Apr 2016 10:56:57 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

On 4/21/16 3:21 PM, Grisha Levit wrote:
> $ echo address@hidden; compgen -A arrayvar BASH_CMDS; echo $?
> A
> 1
> 
> The description doesn't specify that the output is limited to indexed
> arrays only and it would be nice to have associative array variables
> included as well.

I will add something for associative arrays in a future bash version.
I'm going to spend time wrapping up bash-4.4/readline-7.0.

-- 
``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]