title: Ksh ls -1 not working as expected
body: <p>For the command <code>ls</code>, the option <code>-1</code> is supposed to do run <code>ls</code> yielding an output with only one column (yielding one file per line). But if I put it in a script, it just shows every file jammed on one line, separated with spaces.</p>
  
  <p>Script:</p>
  
  <pre><code>#!/bin/ksh
  
  text=`ls -1`
  echo $text
  </code></pre>
  
  <p>Folder contents:</p>
  
  <pre><code>test
    |--bob
    |--coolDir
    |--file
    |--notThisDirectoryAgain
    |--script.sh
    |--spaces are cool
    |--thatFile
  </code></pre>
  
  <p>Script Output:</p>
  
  <pre><code>bob coolDir file notThisDirectoryAgain script.sh spaces are cool thatFile
  </code></pre>
  
  <p>Output if I run <code>ls -1</code> in the terminal (not in a script)</p>
  
  <pre><code>bob
  coolDir
  file
  notThisDirectoryAgain
  script.sh
  spaces are cool
  thatFile
  </code></pre>