Comment on
Ash Vs Bash
Reply in thread
You should put some quotes where you use the array:
not_what_you_think=( "a b" "c" "d" )
for sneaky in "${not_what_you_think[@]}"; do
echo "This is sneaky: ${sneaky}"
done
This is sneaky: a b
This is sneaky: c
This is sneaky: d