title: Read stdin for user input when a file is already redirected to stdin
body: <p>So I'm trying to do something like the following:</p>
  
  <pre><code>while read line; do
      read userInput
      echo "$line $userInput"
  done &lt; file.txt
  </code></pre>
  
  <p>So say file.txt has:</p>
  
  <pre><code>Hello?
  Goodbye!
  </code></pre>
  
  <p>Running the program would create:</p>
  
  <pre><code>Hello?
  James
  Hello? James
  Goodbye!
  Farewell
  Goodbye! Farewell
  </code></pre>
  
  <p>The issue (naturally) becomes that the userinput read reads from stdin which in our case is file.txt. Is there a way to change where it's reading from temporarily to the terminal in order to grab user input?</p>
  
  <p>Note: The file I am working with is 200,000 lines long. and each line is about 500 chars long. So keep that in mind if needed</p>