|
From: | Grisha Levit |
Subject: | compgen -A arrayvar does not include associative arrays |
Date: | Thu, 21 Apr 2016 15:21:52 -0400 |
$ echo ${BASH_CMDS@a}; 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 had a recent use case for this when adding array index completion to bash-completion.
[Prev in Thread] | Current Thread | [Next in Thread] |