bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using variables in variables names


From: Paul Jarc
Subject: Re: Using variables in variables names
Date: Mon, 13 Mar 2006 16:11:50 -0500
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

"Dirk H. Schulz" <dirk.schulz@kinzesberg.de> wrote:
> Paul Jarc schrieb:
>> ac=12 eval "dings$ac=wasannersder"
>
> And how do I reference it then?

ac=12 eval "value=\$dings$ac"
echo $value

Or:

ac=12 name=dings$ac echo ${!name}


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]