|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: grepp -- Perl version of grepby 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.
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!
In Section
Code Catacombs
|
|
||||||||||||||||||||||||