title: shell script to store text file into arrays and print it out
body: <p>E.G the text file from user consist of:</p>
  
  <pre><code>monkey horse     monkey  lion
  lion horse 
  monkey
  </code></pre>
  
  <p>how do i sort it into array and print it out one by one with shell script and become:</p>
  
  <pre><code>monkey 
  horse
  monkey
  lion
  lion
  horse
  monkey
  </code></pre>
  
  <p>?</p>
  
  <p>thanks!</p>