Jan 11, 2006 #1 simpson MIS Oct 23, 2001 58 CA I would like to create and assign a value to a variable, the name of the variable will be derived from another variable. is this possible under ksh. Thanks
I would like to create and assign a value to a variable, the name of the variable will be derived from another variable. is this possible under ksh. Thanks
Jan 11, 2006 1 #2 hoinz MIS Jan 29, 2004 944 DE What do you mean by "derived" ? Perhaps something like this: Code: $ X=test $ eval AA$X=1234567890 $ echo $AAtest 1234567890 $ eval echo \$AA$X 1234567890 $ echo \$AA$X $AAtest hope this helps Upvote 0 Downvote
What do you mean by "derived" ? Perhaps something like this: Code: $ X=test $ eval AA$X=1234567890 $ echo $AAtest 1234567890 $ eval echo \$AA$X 1234567890 $ echo \$AA$X $AAtest hope this helps