title: Echo ps while preserving newlines?
body: <p>If I do <code>ps ax</code> in Terminal, the result will be like this:</p>
  
  <pre><code>  PID   TT  STAT      TIME COMMAND
      1   ??  Ss     2:23.26 /sbin/launchd
     10   ??  Ss     0:08.34 /usr/libexec/kextd
     11   ??  Ss     0:48.72 /usr/sbin/DirectoryService
     12   ??  Ss     0:26.93 /usr/sbin/notifyd
  </code></pre>
  
  <p>While if I do <code>echo $(ps ax)</code>, I get:</p>
  
  <pre><code>PID TT STAT TIME COMMAND 1 ?? Ss 2:23.42 /sbin/launchd 10 ?? Ss 0:08.34 /usr/libexec/kextd 11 ?? Ss 0:48.72 /usr/sbin/DirectoryService 12 ?? Ss 0:26.93 /usr/sbin/notifyd
  </code></pre>
  
  <p>Why?</p>
  
  <p>And how do I preserve the newlines and tab characters?</p>