diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-10 08:38:55 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-10 08:38:55 +0300 |
commit | df43091737fa774ca8e2eeec0f004219d9238b28 (patch) | |
tree | 6958c9d84ca9735df56bd5d50a27fd763ece3499 | |
parent | markdown.md: update (diff) | |
download | notes-df43091737fa774ca8e2eeec0f004219d9238b28.tar.gz notes-df43091737fa774ca8e2eeec0f004219d9238b28.zip |
add bash.md
-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 ('') |