Hi friends how can we read array elements dynamically in bash shell?
What means dynamically? Look at http://www.tldp.org/LDP/abs/html/arrays.html or at this one The Linux Documentation Project
I think read -a array is what you need (the -a option lets read get array variables).