Assume that I've created a lot of variables like
test_1_1=11,
test_1_2=12,
test_1_3=13,
test_2_1=21,
test_2_2=22,
test_2_3=23,
test_3_1=31 and so on.
Can someone help me write a simple multilevel loop to print these variables ?
something on the lines
do i=1 to 10;
.......do j=1 to 10;
............print <the value of test__<j>
......done
done
BTW I am using Korn Shell.
test_1_1=11,
test_1_2=12,
test_1_3=13,
test_2_1=21,
test_2_2=22,
test_2_3=23,
test_3_1=31 and so on.
Can someone help me write a simple multilevel loop to print these variables ?
something on the lines
do i=1 to 10;
.......do j=1 to 10;
............print <the value of test__<j>
......done
done
BTW I am using Korn Shell.