title: read each line from a file and use it as a variable in curl command
body: <p>I have a file called list which has something like</p>
  
  <pre><code>1.html
  2.html
  3.html
  </code></pre>
  
  <p>I want to run a curl command to read each line from the file and use it as a variable for curl, e.g.:</p>
  
  <pre><code>curl "xyz.com/v1/{input from each line of file} 
  </code></pre>
  
  <p>Please help....</p>