
Help on Double Variables ...
Hi all
I'm trying to define a variable containing another variable.
Something like this, which doesn't work ...
----------------------------------
#! /bin/ksh -f
var=$1
list="toto tata"
for i in $list
do
name_$i=$var_$i
done
echo $name_toto
echo $name_tata
----------------------------------
Would you know a way to do this ?
Thanx a lot.
--
M. OL -- Olivier Dannhauer Antefilms|Productions
o...@unforgettable.com http://www.**-**.com/
"Plus ?a rate, plus on a de chances que ?a marche" (Les Shadoks)