For an script I'm making I need to convert the output of a command to an array. For simplifying I have made an example using echo:
arr=( $(echo '"test example" "test2 example"') )
What I want is the first element of the array to be
but when doing this:
What I have to do to get the result I want?