title: Passing file to shell script multiple times
body: <p>I have a shell script where I pass a txt file to the script as follows:</p>
  
  <pre><code>./run.sh &lt; list.txt
  </code></pre>
  
  <p>Within the script, I am doing a "<code>while read LIST do ... end</code>"</p>
  
  <p>It all works well, and the script executes using the list.</p>
  
  <p>However, now I want to have a second <code>while read LIST do ... end</code> in the same shell script.  I want it to read again from the original list I'm passing it on execution, but it doesn't work.  It reads the list.txt file for the first loop, but not the second.</p>
  
  <p>What do I do to make the script read list.txt each time I'm asking for it?</p>