In *nix you need to quote variables used in different ways depending on if there is stuff before or after the variable you are trying to use.

 

echo $todaydate
echo this is a test of variable '$todaydate'
echo this is a test of variable '$todaydate'_test
echo this is a test of variable something_'${todaydate}'_test