Hello and thank you for your assistance in advance. I am trying to update a variable that has a variable name within it.
I am trying to keep it simple as follow:
loc=abc
value='Jul 02 2018 12:01'
echo ${loc}datetime #results in abcdatetime
eval ${loc}datetime="\"$value\""
echo $abcdatetime results in Jul 02 2018 12:01
is there a way to do something similar like ${loc}datetime=$(value); or $(({loc}datetime=$value)) I want to get away from using "eval" and the "\$value\"" Thank you again SteveO.