Could you please tell me how to iterate over list where items can contain whitespaces?
x=("some word", "other word", "third word")
for word in $x ; do
echo -e "$word\n"
done
how to force it to output:
some word
other word
third word
instead of:
some
word
(...)
third
word