I have a number of arrays set up using
What I want to do is to select the array using a variable. Something that might look like
I've been playing around with eval but can't seem to get it right. Any pointers please?
Ceci n'est pas une signature
Columb Healy
Code:
#!/bin/ksh
set -A arr1 data11 data12 data13 data14
set -A arr2 data21 data22 data23 data24
set -A arr3 data31 data32 data33 date34
....
Code:
result=${arr${number}}[$index]
Ceci n'est pas une signature
Columb Healy