I want create a yaml configuration file from a sh script. So I need to add multiple spaces to a variable like that:
SERVERS=""
for i in $(seq 1 5); do
SERVERS="$SERVERS -server`printf "%03d" $i`.$URL\n"
done
But the spaces are reduced to only one space. How do I ensure that the spaces aren't replaced?