NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
What's wrong with grep (Score:2)
grepdepends on the shell to expand globs into a list of filenames, and this breaks down when your start descending into directories.Re: (Score:2)
There's nothing wrong with grep. However, it's a different tool that attempts to satisfy a different need. I often want to search parts of a Perl document without searching all of it. Being able to search just through DATA sections or perhaps dump all regular expressions can be hand. You may have different needs. As time goes on, I'll be adding new features and it will be even more useful.
Also, I was going to add file extension support, but I decided to put that off as "not needed" for the first iter
Re: (Score:1)
pgrep (Score:2)
Re: (Score:2)
Ah, crud. I hadn't heard of the command, so I didn't think to search for it. Thanks for the heads up. Recommendations welcome!
Re: (Score:1)
plgrep?
Re: (Score:1)
Hmm, that’s taken too. But ppgrep isn’t. Google only finds someone who uses that as their nickname and a page showing a Perl script called ppgrep that isn’t mentioned anywhere else.