in reply to Useful addition to Perl?

This may not always work for large number of files or huge directory trees, but I often use something like
perl -ne 'print if _____' `find .`
Or if you have a specific directory in mind
perl -ne 'print if _____' `find mydirectory`

"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce
the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."

Robert Wilensky, University of California

Replies are listed 'Best First'.
Re: Re: Useful addition to Perl?
by tsee (Curate) on Mar 05, 2004 at 11:10 UTC
    Unfortunately, that's not portable.

      it's more portable than you think; see perl power tools

      ~Particle *accelerates*