title: Loading variables from a text file into bash script
body: <p>Is it possible to load new lines from a text file to variables in bash?</p>
  
  <p>Text file looks like?</p>
  
  <pre><code>EXAMPLEfoo 
  EXAMPLEbar
  EXAMPLE1
  EXAMPLE2
  EXAMPLE3
  EXAMPLE4
  </code></pre>
  
  <p>Variables become</p>
  
  <pre><code>$1 = EXAMPLEfoo 
  $2 = EXAMPLEbar 
  </code></pre>
  
  <p>ans so on?</p>