title: bash: can read be used as a command or expression?
body: <p>I want to make a oneliner loop that reads and checks what it read. </p>
  
  <p>This surely won't work: </p>
  
  <pre><code>while [[ read line != "q" ]]; do; echo "enter q to quit: "; done
  </code></pre>
  
  <p>Zsh here tells me <code>condition expected: read</code>.</p>
  
  <p>Perhaps <code>read</code> does not even have this concept of a return value.</p>