title: How can I print contents of file given filename as stdin in bash?
body: <p>Is there a bash command like <code>cat</code> except that it takes the filename from stdin rather than the first argument?  For example:</p>
  
  <pre><code>echo "/home/root/file.txt" | somecommand
  </code></pre>
  
  <p>would have the same output as <code>cat /home/root/file.txt</code></p>