Declare variables and give them attributes. More information: https://www.gnu.org/software/bash/manual/bash.html#Bash-Builtins. Declare…
Declare variables and give them attributes. More information: https://www.gnu.org/software/bash/manual/bash.html#Bash-Builtins.
typeset {{variable}}="{{value}}"
typeset -i {{variable}}="{{value}}"
typeset {{variable}}=({{item_a item_b item_c}})
typeset -A {{variable}}=({{[key_a]=item_a [key_b]=item_b [key_c]=item_c}})
typeset -r {{variable}}="{{value}}"
typeset -g {{variable}}="{{value}}"