bug-bash
[Top][All Lists]
Advanced

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

bug with getting an array index or ...


From: shawn wilson
Subject: bug with getting an array index or ...
Date: Sun, 6 Dec 2015 08:38:02 -0500

declare -a array=(aaaaaaaa bbbbbbbb cccccccc); echo "${!array[@]}";
echo "${!array[@]:-}"

also, "${!array[@]:foo}" and :+foo and :-foo are all empty as well -
I'm pretty sure this is not intended?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]