0

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.

Rahul Agrawal
  • 303
  • 3
  • 12

0 Answers0