OILS / _devbuild / help / osh-osh-assign View on Github | oilshell.org

10 lines, 7 significant
1
2 Assignments and Expressions <a class="group-link" href="chap-osh-assign.html">osh-assign</a>
3
4
5 [Literals] sh-array array=(a b c) array[1]=B "${a[@]}"
6 sh-assoc assoc=(['a']=1 ['b']=2) assoc['x']=b
7 [Operators] sh-assign str='xyz'
8 sh-append str+='abc'
9 [Builtins] local readonly export unset shift
10 declare typeset X let