title: Iterating over each line of ls -l output
body: <p>I want to iterate over each line in the output of: <code>ls -l /some/dir/*</code></p>
  
  <p>Right now I'm trying: <code>for x in $(ls -l $1); do echo $x; done</code></p>
  
  <p>However, this iterates over each element in the line separately, so I get:</p>
  
  <pre class="lang-none prettyprint-override"><code>-r--r-----
  1
  ivanevf
  eng
  1074
  Apr
  22
  13:07
  File1
  
  -r--r-----
  1
  ivanevf
  eng
  1074
  Apr
  22
  13:17
  File2
  </code></pre>
  
  <p>But I want to iterate over each line as a whole, though.  How do I do that?</p>