I've got a script 'myscript' that contains the following:
abc
def
ghi
in another script, I call:
declare RESULT=$(./myscript)
and $RESULT
gets the value
abc def ghi
Is there a way to store the result either with the newlines, or with '\n' character so I can output it with 'echo -e
'?