
double substitution (expansion)
I need to write a shell script with something like
set x1 = "something 1"
set x2 = "something 2"
.....................
set xN = "something N"
and later I need
foreach M (1 .......... N)
set y = x$M (M being in the 1-N range)
how can I use y; I tried $y but this does not seem to work
Thanks for any suggestion
Francesco Mencaraglia - IROE - Via Panciatichi 64 - 50127 Firenze - Italy
me...@iroe.iroe.fi.cnr.it
me...@moloch.iroe.fi.cnr.it