I'm trying to do a query and store every row result in an array element in ksh (maybe bash). I do:
result=($($PATH_UTI/querysh "
set heading off
set feedback off
SELECT columnA,columnb FROM user.comunication;"))
I have that:
row1 = HOUSE CAR
row2 = DOC   CAT
echo "${result[1]}" and it gives me HOUSE
But I would like to get:
echo "${result[1]}" gives: "HOUSE CAR"

