title: How do you pipe shell output to ruby -e?
body: <p>Say I was typing something in my terminal like:</p>
  
  <pre><code>ls | grep phrase
  </code></pre>
  
  <p>and after doing so I realize I want to delete all these files.</p>
  
  <p>I want to use Ruby to do so, but can't quite figure out what to pass into it.</p>
  
  <pre><code>ls | grep phrase | ruby -e "what do I put in here to go through each line by line?"
  </code></pre>