title: Bash read and stderr redirection
body: <p>So I've got a script that runs test cases on another script.  I'm trying to redirect stderr while running the test cases.  The part that is giving me problems is the read command:</p>
  
  <p>within script1:</p>
  
  <pre><code>read -p "Delete $file? (y/n) " input
  </code></pre>
  
  <p>within testscript:</p>
  
  <pre><code>$script $opts $file 2&gt;/dev/null
  </code></pre>
  
  <p>The read calls from script1 get redirected as well.</p>