title: perl one-liner like grep?
body: <p>i'd like perl to do a one-liner like <code>grep</code></p>
  
  <p>a bit like this, but i'm not sure what to add to make it work</p>
  
  <pre><code>$ (echo a ; echo b ; echo c) | perl -e 'a'
  </code></pre>
  
  <p>ADDED
  My answer here covers that and more<br>
  <a href="https://superuser.com/questions/416419/perl-for-matching-with-regex-in-terminal">https://superuser.com/questions/416419/perl-for-matching-with-regex-in-terminal</a></p>