Acme-CPANModules-GrepVariants

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    improvements (mostly in speed aspect) like The Silver Searcher ("ag")
    (implemented in C) or "ripgrep" (implemented in Rust). "git" also now
    includes a "git-grep" utility (implemented in C). ack has a website:
    <https://beyondgrep.com>. See also <https://betterthanack.com>.

    gre (from App::Gre) is a "grep clone using Perl regexp's with better
    file filtering, defaults, speed, and presentation". It seems to focus on
    providing many options to filter files (from including/excluding by file
    extension, by matching against filename, by first line, by maximum
    directory depth, and so on). It also offers some alternative output
    styles.

    2b. Improvements in searching for multiple patterns in no particular
    order

    Normally with the regular grep, to search for all 'foo' and 'bar' *in no
    particular order*, you either have to do something like:

     % grep --color=always foo FILES | grep bar

    or:

lib/Acme/CPANModules/GrepVariants.pm  view on Meta::CPAN

by default. ack has spurred the development of its improvements (mostly in speed
aspect) like The Silver Searcher (`ag`) (implemented in C) or `ripgrep`
(implemented in Rust). `git` also now includes a `git-grep` utility (implemented
in C). ack has a website: <https://beyondgrep.com>. See also
<https://betterthanack.com>.

<prog:gre> (from <pm:App::Gre>) is a "grep clone using Perl regexp's with better
file filtering, defaults, speed, and presentation". It seems to focus on
providing many options to filter files (from including/excluding by file
extension, by matching against filename, by first line, by maximum directory
depth, and so on). It also offers some alternative output styles.


**2b. Improvements in searching for multiple patterns in no particular order**

Normally with the regular grep, to search for all 'foo' and 'bar' *in no
particular order*, you either have to do something like:

    % grep --color=always foo FILES | grep bar

or:

lib/Acme/CPANModules/GrepVariants.pm  view on Meta::CPAN

by default. ack has spurred the development of its improvements (mostly in speed
aspect) like The Silver Searcher (C<ag>) (implemented in C) or C<ripgrep>
(implemented in Rust). C<git> also now includes a C<git-grep> utility (implemented
in C). ack has a website: L<https://beyondgrep.com>. See also
L<https://betterthanack.com>.

L<gre> (from L<App::Gre>) is a "grep clone using Perl regexp's with better
file filtering, defaults, speed, and presentation". It seems to focus on
providing many options to filter files (from including/excluding by file
extension, by matching against filename, by first line, by maximum directory
depth, and so on). It also offers some alternative output styles.

B<2b. Improvements in searching for multiple patterns in no particular order>

Normally with the regular grep, to search for all 'foo' and 'bar' I<in no
particular order>, you either have to do something like:

 % grep --color=always foo FILES | grep bar

or:



( run in 1.590 second using v1.01-cache-2.11-cpan-49f99fa48dc )