title: How to apply shell command to each line of a command output?
body: <p>Suppose I have some output from a command (such as <code>ls -1</code>):</p>
  
  <pre><code>a
  b
  c
  d
  e
  ...
  </code></pre>
  
  <p>I want to apply a command (say <code>echo</code>) to each one, in turn. E.g.</p>
  
  <pre><code>echo a
  echo b
  echo c
  echo d
  echo e
  ...
  </code></pre>
  
  <p>What's the easiest way to do that in bash?</p>