My script contains this:
echo "enter rsync hostname for fedora official (base/extras/updates):"
but when i enter "ftp.lala.com", i get "set: Syntax Error". However, when i enter a simple string without ".", everything works fine.
A solution i have is to use 3 (or 2, because "ftp" can be a constant) different string variables and connect them. Is there a better solution? Why do i get this problem at first place?