title: When I use pipes in Cygwin to connect commands, why don't the commands act "independently"?
body: <p>I'm a beginner to Cygwin. If I have:</p>
  
  <pre><code>cat output.txt | rm output.txt
  </code></pre>
  
  <p>I want to print out the results before I delete the file, but the results don't print even though these commands work find when inputted into Cygwin separately. Similarly:</p>
  
  <pre><code>grep -c 'ps' count.tmp | rm count.tmp
  </code></pre>
  
  <p>I want to show the results of <code>grep -c 'ps' count.tmp</code> before the <code>count.tmp</code> file is removed.</p>