Can any body kindly tell me the purpose of ! operator in the following expression:
y=${!x}
Actually when i execute this statement on my solaris 10 terminal, i get empty output.
Can any body kindly tell me the purpose of ! operator in the following expression:
y=${!x}
Actually when i execute this statement on my solaris 10 terminal, i get empty output.
Its basically content of content of a variable.
See similar post: Content of Content of a variable!
x=t
t=20
y=${!x}
echo $y
Try the above, you will come to know
//Jadu