title: Shell read from files with tail
body: <p>I am currently trying to read from files with shell. However, I met one sytax issue. My code is below:</p>
  
  <pre><code>while read -r line;do
      echo $line
  done &lt; &lt;(tail -n +2 /pathToTheFile | cut -f5,6,7,8 | sort | uniq )
  </code></pre>
  
  <p>However, it returns me error <code>syntax error near unexpected token</code>('`</p>
  
  <p>I tried with following <a href="https://stackoverflow.com/questions/33535558/how-to-use-while-read-line-with-tail-n">How to use while read line with tail -n</a> but still cannot see the error.</p>
  
  <p>The tail command works properly.</p>
  
  <p>Any help will be apprepricated.</p>