title: Append out from reading lines in a txt file
body: <p>I have a test.txt file with the following contents</p>
  <pre><code>100001
  100003
  100007
  100008
  100009
  </code></pre>
  <p>I am trying to loop through the text file and append each one with .xml.</p>
  <p>Ex:</p>
  <pre><code>100001.xml
  100003.xml
  100007.xml
  100008.xml
  100009.xml
  </code></pre>
  <p>I have tried different variations of</p>
  <pre><code>while read p; do
  echo &quot;$p.zip&quot;
  done &lt; test.txt
  </code></pre>
  <p>But it prints out weird like this</p>
  <pre><code>.xml01
  .xml03
  .xml07
  .xml08
  .xml09
  </code></pre>