title: Put result of awk into an array
body: <p><strong>When I run the following command on terminal,</strong></p>
  
  <pre><code>awk /984/ $files | awk -F, '{OFS=",";print $1,$4,$17}'
  </code></pre>
  
  <p>where,</p>
  
  <pre><code>files=`ls`
  </code></pre>
  
  <p><strong>I get this output:</strong></p>
  
  <pre><code>2013/08/18 12:51:37,11,724
  2013/08/18 12:48:02,227,84769
  </code></pre>
  
  <p>I wish to create a script, run that command and assign the above result to an array in this way: (Separate lines as separate elements)</p>
  
  <pre><code>array[0] = 2013/08/18 12:51:37,11,724
  array[1] = 2013/08/18 12:48:02,227,84769
  </code></pre>
  
  <p>BUT,</p>
  
  <p>neither,</p>
  
  <pre><code>result=($(awk /string/ $files | awk -F, '{OFS=",";print $1,$4,$17}'))
  </code></pre>
  
  <p>nor,</p>
  
  <pre><code>result2=`awk /string/ $files | awk -F, '{OFS=",";print $1,$4,$17}'`
  </code></pre>
  
  <p>fulfills my purpose. </p>
  
  <p>How to get an array like I specified?</p>