Assume I have some environment variable named TMP=VAR
and a second environment variable VAR_A=RES
.
Is there and way I can access VAR_A
via the variable TMP
, i.e., something like: ${${TMP}_A}
in bash?
Thanks!
Assume I have some environment variable named TMP=VAR
and a second environment variable VAR_A=RES
.
Is there and way I can access VAR_A
via the variable TMP
, i.e., something like: ${${TMP}_A}
in bash?
Thanks!