title: Diffrence between $(git ls-files -s | wc -l ) and $(git ls-files -s >out && wc -l <out)
body: <p>Are the two commands <code>$(git ls-files -s | wc -l)</code> and <code>$(git ls-files -s &gt;out &amp;&amp; wc -l &lt;out)</code> different or same,
  as when first is written in the second form, i end up getting errors.</p>