-
-
13 Dec 2021 13:14:37 UTC
- Distribution: App-Greple
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (285 / 0 / 11)
- Kwalitee
Bus factor: 1- 25.79% Coverage
- License: perl_5
- Perl: v5.14.0
- Activity
24 month- Tools
- Download (86.38KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 3 contributors-
Kazumasa Utashiro
-
Mohammad S Anwar
-
Toshifumi Sakaguchi
NAME
dig - Greple module for recursive search
SYNOPSIS
greple -Mdig pattern --dig directories ...
greple -Mdig pattern --git ...
DESCRIPTION
Option --dig searches all files under specified directories. Since it takes all following arguments, place at the end of all 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 )
If more compilicated file filtering is required, combine with -Mselect module.
You can use --dig option without module declaration by setting it as autoload module in your ~/.greplerc.
autoload -Mdig --dig --git
OPTIONS
- --dig directories find-option
-
Specify at the end of greple options, because all the rest is taken as option for find(1) command.
- --git ls-files-option
-
Search files under git control. Specify at the end of greple options, because all the rest is taken as option for git-ls-files(1) command.
SEE ALSO
Module Install Instructions
To install App::Greple, copy and paste the appropriate command in to your terminal.
cpanm App::Greple
perl -MCPAN -e shell install App::Greple
For more information on module installation, please visit the detailed CPAN module installation guide.