linux - perl one-liner like grep? -


i'd perl one-liner grep

a bit this, i'm not sure add make work

$ (echo ; echo b ; echo c) | perl -e 'a' 

added answer here covers , more
https://superuser.com/questions/416419/perl-for-matching-with-regex-in-terminal

(echo a; echo b; echo c) | perl -ne 'print if /a/' 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -