[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: bash :how to do

 eval echo $`echo $tmp`

slight cheat :)

RK Patil wrote:

> Hello,
> I have two variables declared in the shell environment as :
> $ tmp=abcd
> $ abcd=HELLO
>  Is it possible for me to get the value "HELLO" echoed on screen with
> the help
> of variable tmp alone? If possible how can I get it?
> --TIA
> rk patil
> -----------------------------------------------------------------------
> For more information on the LIP mailing list see:
> http://lists.linux-india.org/lists/LIP

Robin S Chatterjee Yahoo pager ID -Robinchatterjee
FAX 1-(815)550-6171
Robin's Poetry Pages
Robin's Perl Pages