I pass a string as an argument to a shell script. and the shell script should tell me if the passed argument is a variable
something like this
if [ ! -z
The syntax for this is:
${!VAR}
Example:
$ function hello() { echo ${!1}; } $ hello HOME /home/me