Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: grepp -- Perl version of grep

by Akhasha (Scribe)
on Dec 31, 2004 at 02:56 UTC ( [id://418486]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to grepp -- Perl version of grep

This could prove useful - at least save me some typing. I fairly often resort to piping files through something like:
perl -ne '/regex/ && print'
or
perl -ne '/regex/ && $c++; END { print "$c\n"; }'
Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://418486]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.