I am planning to use a multidimensional array in awk and I am storing the details in the format as below
CODE
arr[customer1,account1]
arr[customer1,account2]
arr[customer2,account1]
arr[customer2,account2]
DETAILS
I just need to know, how would I be able to traverse this and print the results. Also I am using this awk inside a shell script program so I would like to know will I be able to use the same array inside the shell script, if so how to transfer this. I searched in many sites, I am not able to find a correct solution for this. Could you ppl plz help me. Thank you.