title: Assigning jq output to bash array when json value contains spaces
body: <p>When I do this:</p>
  <pre><code>arr=($(echo '{&quot;crew&quot;:[{&quot;name&quot;:&quot;kirk&quot;},{&quot;name&quot;:&quot;bones&quot;},{&quot;name&quot;:&quot;mr spock&quot;}]}' | jq -r '.crew[].name | @sh'))
  </code></pre>
  <p>I get:</p>
  <pre><code>echo &quot;${arr[2]}&quot;
  mr
  echo &quot;${arr[3]}&quot;
  spock
  </code></pre>
  <p>However when I do this:</p>
  <pre><code>arr=(&quot;kirk&quot; &quot;bones&quot; &quot;mr spock&quot;)
  </code></pre>
  <p>I get this:</p>
  <pre><code>echo &quot;${arr[2]}&quot;
  mr spock
  </code></pre>
  <p>Why, in the first example, is bash ignoring the quotes that each jq value is wrapped in when it creates the array?</p>