http://www.perlmonks.org?node_id=716042


in reply to Re^2: Open Files in Unix
in thread Open Files in Unix

Is it? Please try "find -iname '*foo'" or "find -regextype posix-egrep '[abc]\.html'" on, say, a Solaris system - or one with OS/X. A plain "find" (i.e., no options) would serve the OP's purpose - but it is not portable, and its use in scripts should be discouraged.


--
"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf

Replies are listed 'Best First'.
Re^4: Open Files in Unix
by JavaFan (Canon) on Oct 08, 2008 at 19:11 UTC
    You mean, as opposed to the POSIX egrep semantics of the Perl regexp engine? Oh wait.

    It's kind of silly to come up with exotic options of one implementation a find to claim it's non-portable when 1) the OP doesn't need them and 2) said exotic options aren't available in File::Find without a lot of work either.

A reply falls below the community's threshold of quality. You may see it by logging in.