I got stuck at a problem where I need to expand a variable in another variable as follow :
var1=abc
var2=$var1/pqr
echo ${!var2}
Here I want output to be abc/pqr , but not getting it , please help. and var2 value is like this only , I can't put it in double quotes.