i\'d like perl to do a one-liner like grep
grep
a bit like this, but i\'m not sure what to add to make it work
$ (echo a ; echo b ; echo c) | per
(echo a; echo b; echo c) | perl -ne 'print if /a/'