good thing you found the answer. I am glad you did, and oh, I am more glad that you found your solution on ksh itself and not on "advanced scripting language, like Perl or Python.''
> Guys, > > I eventually found it with lots of rtfm on variable substitution and such.. > > [...@dada~]$ z=0 > [...@dada~]$ y=1 > [...@dada~]$ x=aaa > [...@dada~]$ eval `echo MACHINE_DISK$z[$y]`=$x > [...@dada~]$ echo $(eval echo \${MACHINE_DISK$z[$y]}) > aaa > [...@dada~]$ > > Thanks anyway! > > > -- > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"