I\'ve got a script \'myscript\' that outputs the following:
abc def ghi
in another script, I call:
declare RESULT=$(./myscr
How about this, it will read each line to a variable and that can be used subsequently ! say myscript output is redirected to a file called myscript_output
awk '{while ( (getline var < "myscript_output") >0){print var;} close ("myscript_output");}'