summaryrefslogtreecommitdiffstatshomepage
path: root/bash.md
blob: aba50d5590a11a5048a988a168b3798116b864cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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 ('')