In a POSIX shell:
>VALUE=value
>FOOBAR=VALUE
Now how to print the value of $FOOBAR
? $$FOOBAR
does not work - it goes left-to-right so interprets $$
first as process ID.
The duplicate question before me that people are pointing to, yes it does contain the answer to my question but it buried in a ton of irrelevant gunk. My question is much simpler and to the point.