diff options
-rw-r--r-- | bash.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +GNU `bash` +========== + +1. (Associative) arrays + * Yes: + + func ${arr[@]+"${arr[@]}"} + + * No: + + func "${arr[@]}" # doesn't work with `nounset` + func "${arr[@]+"${arr[@]}"}" # doesn't work with ('') |