echo 'fubar\nfoo' | perl -e '@stuff=grep \!/fubar/, ;print@stuff;'