1

Assocaitive Array with more than one item per entry

view story
linux-howto

http://www.unix.com – Hi all I have a problem where i have a large list ( up to 1000 of items) and need to have 2 items pulled from it into variables in a bash script my list is like the following and I could have it as an array or possibly an external text file maintained separately. Every line is different and will be up to 500 lines, and is rather static content, so could easily be a CSV or similar. Code: 15, Hills District,HIL 53,Kings Langley, KIN 76,Winston Hills,WIN My script has the first term, (the number) as a variable and needs to use this to fined the corresponding entries on that line, and writ (HowTos)