title: How to iterate on multiple lines in a for loop in bash?
body: <p>I currently have a bash script that looks similar to below:</p>
  
  <pre><code>for i in foo_dir/foo_filename.xml,passed,"some string" foo_dir/bar_filename.xml,failed,"another string" foo_dir/foobar.xml,passed,"string"
  
  do
  &lt;some bash script&gt;
  done
  </code></pre>
  
  <p>As you can see what I'm iterating through in the for loop is all on 1 line. That is quite annoying. I would like to be able to place all elements that are being iterated on separate lines like this (easier to read and change):</p>
  
  <p>I have already tried below and it doesn't seem to work.</p>
  
  <pre><code>for i in foo_dir/foo_filename.xml,passed,"some string"
   foo_dir/bar_filename.xml,failed,"another string" 
   foo_dir/foobar.xml,passed,"string"
  
  do
  &lt;some bash script&gt;
  done
  </code></pre>
  
  <p>Is there a way to do the above with some extra syntax or something I'm missing?</p>