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?
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?