Acme-CPANModules-GrepVariants
view release on metacpan or search on metacpan
instead of regex, which is admittedly more limited than regex.
grep-similar-to (from App::grep::similar::text lets you specify a text
and it will only show lines from input that are similar to the provided
text.
grep-sounds-like (from 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
pmgrep (from 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)
cpangrep (from 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>.
grepl (from App::Grepl) uses 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.
podgrep (from pmtools) greps from POD sections of Perl source.
4c. Variants: alternate source: CSV
csvgrep (from csvgrep)
csv-grep (from App::CSVUtils) allows you to apply Perl code against rows
of CSV.
4d. Variants: alternate source: word lists
wordlist (from App::wordlist) greps words from wordlist modules (modules
that contains word lists, see WordList).
4e. Variants: other alternate sources
grep-bash-history-entries (from App::BashHistoryUtils), with grephist as
shorter alias.
grep-from-iod (from App::IODUtils).
grep-from-ini (from App::INIUtils).
grep-from-coin (from App::CryptoCurrencyUtils).
grep-from-exchange (from App::CryptoCurrencyUtils).
jgrep (from App::JsonLogUtils).
pdfgrep (alias: grep-from-pdf) (from App::PDFUtils) searches against
text in PDF files (it's a wrapper for "pdftotext" utility and grep).
ptargrep (from Archive::Tar) searches against table of contents of tar
files.
5a. Variants: searching URLs
grep-url (from 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
grep-date (from App::grep::date) greps for dates in lines of text.
dategrep (from App::dategrep) prints lines matching a date range.
ACME::CPANMODULES ENTRIES
PerlPowerTools
Author: BRIANDFOY <https://metacpan.org/author/BRIANDFOY>
ack
App::Gre
Author: JACOBG <https://metacpan.org/author/JACOBG>
App::abgrep
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
App::Greple
Author: UTASHIRO <https://metacpan.org/author/UTASHIRO>
App::GrepUtils
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
App::rpgrep
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
Regexp::Pattern
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
App::wcgrep
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
App::grep::similar::text
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
App::grep::sounds::like
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
App::pmgrep
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
App::cpangrep
Author: TSIBLEY <https://metacpan.org/author/TSIBLEY>
( run in 1.715 second using v1.01-cache-2.11-cpan-39bf76dae61 )