I have
export a=b
export b=c
Now I want to print the value of a inside the key of other env var like
echo ${${a}} // so it must look like `echo ${b}`
that must yield me c. But I am getting bad substitution error. Please help.
I have
export a=b
export b=c
Now I want to print the value of a inside the key of other env var like
echo ${${a}} // so it must look like `echo ${b}`
that must yield me c. But I am getting bad substitution error. Please help.