AWK seperating a file into an array

view full story

http://www.unix.com – Is there a way to have awk put successive records into an array in a bash script? I have files that say things like name :title :salary Bob :Instructor :30,000 Joyce :Instructor :30,000 Patrick :Manager :40,000 What I want to do is seperate this file into an array so that the array would look like this: array[0] = Bob :Instructor :30,000 array[1] = Joyce :Instructor :30,000 array[2] = Patrick :Manager :40,000 I figure there must be a way to make this happen through awk, but I am so new at this that I cannot think of how to do it, and I have not been able to locate an examp (HowTos)