I have bash script which runs a SQL query and outputs the following:
*************************** 1. row ***************************
name: danny
id: 123
age: 1
wait: 326.000000
*************************** 2. row ***************************
name: ronny
id: 1234
age: 2
wait: 21.000000
I'm trying to understand how can I create an array and store each record inside, for each record I want to be able to accces its params for example:
Person1["name"] = danny, Person2["name"]=ronny