I have the following:
directories="directory_1 directory_2"
for k in ${directories}; do
echo "${k}"
done;
The problem is that if I add a directory with a blank space in its name, e.g. directory 3, this fails as it is treated as two strings.