Exactly, this is very underestimated subject that can cause some hard-to-track glitches in your scripts.
Lately I've stumbled upon this interesting article, article about why spaces ? Why not :)
Do you know what that will be :
DIR="My Music"
COMMAND="ls '$DIR'"
sudo $COMMAND
Not sure ? Then read :)
http://www.cofoh.com/white-shell
Lately I've stumbled upon this interesting article, article about why spaces ? Why not :)
Do you know what that will be :
DIR="My Music"
COMMAND="ls '$DIR'"
sudo $COMMAND
Not sure ? Then read :)
http://www.cofoh.com/white-shell