title: how do I pass the output of a bash command as parameters to another?
body: <p>I have a program that returns me a list of file names. I need to pass these file's contents to another program.</p>
  
  <p>I know how to use <code>cat</code> to pass content:</p>
  
  <pre><code>cat file1 file2 file3 | some_program
  </code></pre>
  
  <p>what I want to do is something like:</p>
  
  <pre><code>list=`get_file_list`
  cat ${list} | some_program
  </code></pre>
  
  <p>Though doing the above will simply pass the content of the list variable, rather than the files' content.</p>