title: How to just input 'y' without having to press ENTER?
body: <p>Using this portion of a bash script as an example</p>
  
  <pre><code>{   
      read -p "Do you want to update the tv feed? [y/n/q] " ynq
      case $ynq in
      [Yy]* ) rm ~/cron/beeb.txt; /usr/bin/get-iplayer --type tv&gt;&gt;~/cron/beeb.txt;; 
      [Nn]* ) echo;;
      [Qq]* ) exit;;
      * ) echo "Please answer yes or no. ";;
      esac
  }
  </code></pre>
  
  <p>How do I get it so that you can press <kbd>y</kbd> and not have to press <kbd>Enter</kbd> for it to be accepted please?</p>