title: syntax error near unexpected token `<'
body: <pre><code>StudentAnwser=()
  inputScriptFile=001.sh
  
  while IFS= read -r line;
  do
      StudentAnwser+=( "$line" )
  done &lt; &lt;( sh $inputScriptFile test.txt )
  </code></pre>
  
  <p>it returns a error</p>
  
  <pre><code>foo.sh: line 22: syntax error near unexpected token `&lt;'
  foo.sh: line 22: `  done &lt; &lt;( sh $inputScriptFile test.txt )'
  </code></pre>
  
  <p>what's wrong with that? I follow the solution from other question for reading line from result</p>