Acme-CPANModules-GrepVariants
view release on metacpan or search on metacpan
lib/Acme/CPANModules/GrepVariants.pm view on Meta::CPAN
text and it will only show lines from input that are similar to the provided
text.
<prog:grep-sounds-like> (from <pm:App::grep::sounds::like> lets you specify a
word and it will only show lines from input that have words that sound like the
provided word. You can choose from one of several phonetic algorithms like
Metaphone (the default), Soundex, etc.
**4a. Variants: alternate source: repository (version control system) content and history**
For git, the abovementioned `git-grep` can search for files in the work tree as
well as commit content. For Mercurial, `hg grep` accomplishes the same.
Alternatively you can dump the history then use the standard `grep` to go
through it.
**4b. Variants: alternate source: Perl source code**
<prog:pmgrep> (from <pm:App::pmgrep>) lets you grep over locally installed Perl
modules. It's basically a shortcut for something like this:
% pmlist -Rx | xargs grep PAT
% grep PAT $(pmlist -Rx)
<prog:cpangrep> (from <pm:App::cpangrep>) is a CLI for web service
<https://cpan.grep.me>, which is no longer operating. To grep from files on
CPAN, use <https://metacpan.org>.
<prog:grepl> (from <pm:App::Grepl>) uses <pm:PPI> to let you grep over Perl
*documents*; it allows you to do things like: search only in Perl code comments
or inside string literals.
<prog:podgrep> (from <pm:pmtools>) greps from POD sections of Perl source.
**4c. Variants: alternate source: CSV**
<prog:csvgrep> (from <pm:csvgrep>)
<prog:csv-grep> (from <pm:App::CSVUtils>) allows you to apply Perl code against
rows of CSV.
**4d. Variants: alternate source: word lists**
<prog:wordlist> (from <pm:App::wordlist>) greps words from wordlist modules
(modules that contains word lists, see WordList).
**4e. Variants: other alternate sources**
<prog:grep-bash-history-entries> (from <pm:App::BashHistoryUtils>), with
<prog:grephist> as shorter alias.
<prog:grep-from-iod> (from <pm:App::IODUtils>).
<prog:grep-from-ini> (from <pm:App::INIUtils>).
<prog:grep-from-coin> (from <pm:App::CryptoCurrencyUtils>).
<prog:grep-from-exchange> (from <pm:App::CryptoCurrencyUtils>).
<prog:jgrep> (from <pm:App::JsonLogUtils>).
<prog:pdfgrep> (alias: <prog:grep-from-pdf>) (from <pm:App::PDFUtils>) searches
against text in PDF files (it's a wrapper for `pdftotext` utility and grep).
<prog:ptargrep> (from <pm:Archive::Tar>) searches against table of contents of
tar files.
**5a. Variants: searching URLs**
<prog:grep-url> (from <pm:App::grep::url>) greps URLs from lines of input. You
don't have to manually specify regex that matches URLs yourself; you can just
add additional criteria for the URLs, e.g. whether the host part must contain
some text, or whether a certain query parameter must match some pattern.
**5b. Variants: searching dates**
<prog:grep-date> (from L<App::grep::date>) greps for dates in lines of text.
<prog:dategrep> (from L<App::dategrep>) prints lines matching a date range.
MARKDOWN
our $LIST = {
summary => 'List of grep-like CLI utilities available on CPAN',
description => $description,
entries => [
],
};
Acme::CPANModulesUtil::Misc::populate_entries_from_module_links_in_description;
1;
# ABSTRACT: List of grep-like CLI utilities available on CPAN
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::CPANModules::GrepVariants - List of grep-like CLI utilities available on CPAN
=head1 VERSION
This document describes version 0.014 of Acme::CPANModules::GrepVariants (from Perl distribution Acme-CPANModules-GrepVariants), released on 2025-08-20.
=head1 DESCRIPTION
This list catalogs various grep-like tools.
B<1. Reimplementations>
grep (from L<PerlPowerTools>) simply tries to reimplement grep in Perl, as
part of the project to reimplement many Unix utilities in Perl. It has few
lib/Acme/CPANModules/GrepVariants.pm view on Meta::CPAN
With L<wcgrep> (from L<App::wcgrep>) you can search using wildcard pattern
instead of regex, which is admittedly more limited than regex.
L<grep-similar-to> (from L<App::grep::similar::text> lets you specify a
text and it will only show lines from input that are similar to the provided
text.
L<grep-sounds-like> (from L<App::grep::sounds::like> lets you specify a
word and it will only show lines from input that have words that sound like the
provided word. You can choose from one of several phonetic algorithms like
Metaphone (the default), Soundex, etc.
B<4a. Variants: alternate source: repository (version control system) content and history>
For git, the abovementioned C<git-grep> can search for files in the work tree as
well as commit content. For Mercurial, C<hg grep> accomplishes the same.
Alternatively you can dump the history then use the standard C<grep> to go
through it.
B<4b. Variants: alternate source: Perl source code>
L<pmgrep> (from L<App::pmgrep>) lets you grep over locally installed Perl
modules. It's basically a shortcut for something like this:
% pmlist -Rx | xargs grep PAT
% grep PAT $(pmlist -Rx)
L<cpangrep> (from L<App::cpangrep>) is a CLI for web service
L<https://cpan.grep.me>, which is no longer operating. To grep from files on
CPAN, use L<https://metacpan.org>.
L<grepl> (from L<App::Grepl>) uses L<PPI> to let you grep over Perl
I<documents>; it allows you to do things like: search only in Perl code comments
or inside string literals.
L<podgrep> (from L<pmtools>) greps from POD sections of Perl source.
B<4c. Variants: alternate source: CSV>
L<csvgrep> (from L<csvgrep>)
L<csv-grep> (from L<App::CSVUtils>) allows you to apply Perl code against
rows of CSV.
B<4d. Variants: alternate source: word lists>
L<wordlist> (from L<App::wordlist>) greps words from wordlist modules
(modules that contains word lists, see WordList).
B<4e. Variants: other alternate sources>
L<grep-bash-history-entries> (from L<App::BashHistoryUtils>), with
L<grephist> as shorter alias.
L<grep-from-iod> (from L<App::IODUtils>).
L<grep-from-ini> (from L<App::INIUtils>).
L<grep-from-coin> (from L<App::CryptoCurrencyUtils>).
L<grep-from-exchange> (from L<App::CryptoCurrencyUtils>).
L<jgrep> (from L<App::JsonLogUtils>).
L<pdfgrep> (alias: L<grep-from-pdf>) (from L<App::PDFUtils>) searches
against text in PDF files (it's a wrapper for C<pdftotext> utility and grep).
L<ptargrep> (from L<Archive::Tar>) searches against table of contents of
tar files.
B<5a. Variants: searching URLs>
L<grep-url> (from L<App::grep::url>) greps URLs from lines of input. You
don't have to manually specify regex that matches URLs yourself; you can just
add additional criteria for the URLs, e.g. whether the host part must contain
some text, or whether a certain query parameter must match some pattern.
B<5b. Variants: searching dates>
L<grep-date> (from L<App::grep::date>) greps for dates in lines of text.
L<dategrep> (from L<App::dategrep>) prints lines matching a date range.
=head1 ACME::CPANMODULES ENTRIES
=over
=item L<PerlPowerTools>
Author: L<BRIANDFOY|https://metacpan.org/author/BRIANDFOY>
=item L<ack>
=item L<App::Gre>
Author: L<JACOBG|https://metacpan.org/author/JACOBG>
=item L<App::abgrep>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
=item L<App::Greple>
Author: L<UTASHIRO|https://metacpan.org/author/UTASHIRO>
=item L<App::GrepUtils>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
=item L<App::rpgrep>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
=item L<Regexp::Pattern>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
=item L<App::wcgrep>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
( run in 2.181 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )