Arrays in Bash 4+
Indexed arrays with arr=(a b c). Associative arrays need declare -A. Iterate with "${arr[@]}" — quoted to preserve elements.
Output
Press Run to execute your code.
Indexed arrays with arr=(a b c). Associative arrays need declare -A. Iterate with "${arr[@]}" — quoted to preserve elements.