title: In a Linux shell how can I process each line of a multiline string?
body: <p>While in a Linux shell I have a string which has the following contents:</p>
  <pre class="lang-none prettyprint-override"><code>cat
  dog
  bird
  </code></pre>
  <p>I want to pass each item as an argument to another function. How can I do this?</p>