Linux find and grep to pure Perl

F

fourfour2

I have been looking at find2perl...

I want this linux command converted to perl code, I guess using Perl
grep and Perl find, that will run on any OS:

find . -type f -exec egrep -i 'xbox|ps2' {} \; -print

I don't want any OS system calls - just pure clean Perl.

Any help appreciated for the best way to do this ...
 
B

Brian Greenfield

I have been looking at find2perl...

I want this linux command converted to perl code, I guess using Perl
grep and Perl find, that will run on any OS:

find . -type f -exec egrep -i 'xbox|ps2' {} \; -print

I don't want any OS system calls - just pure clean Perl.

If you want pure Perl versions of those commands (and many others), or
just see how others have done it, check out the Perl Power Tools
http://ppt.perl.org/.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top