|
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?
[Prev in Thread] | Current Thread | [Next in Thread] |