title: exec function not returning all rows
body: <p>My awk command works as expected and returns 2 lines at command prompt.</p>
  
  <p>When I use php "exec" function, it returns only the second line.</p>
  
  <pre><code>echo exec("awk -v RS=\",\" '/some_text/' test1.html");
  </code></pre>
  
  <p>How do I return all output of shell command using PHP?</p>