Am 2005-02-08 19:20:25, schrieb Juanillo:
> the problem isn't the dots in a variable name, I also tried:
>
> juan@elsotanillo:~$ $TEST$HOSTS="some value"
> bash: popmaquina1=some value: command not found
> I think It can't be done.... It's impossible declare a variable with $ on the
> left side of = . Am i wrong?
It can be done, but you must evaluate the variables.
Like: TEST_HOSTS=`eval echo '$TEST'$HOSTS`
> Anyone knows another method to do that i want?
>
> Thanks a lot
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature