The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

dig - Greple module for recursive search

SYNOPSIS

greple -Mdig [ options ] --dig directories ...

DESCRIPTION

Option --dig searches all files under directories specified after it. Since it takes all following arguments as target files or directories, use after all necessary options.

It is possible to specify AND condition after directories, in find option format. Next command will search all C source files under the current directory.

    $ greple -Mdig pattern --dig . -name *.c

    $ greple -Mdig pattern --dig . ( -name *.c -o -name *.h )

You can use --dig option without module declaration by setting it as autoload module in your ~/.greplerc.

    autoload -Mdig --dig