awesome-grep icon indicating copy to clipboard operation
awesome-grep copied to clipboard

List of GREP modifications and alternatives for a variety of purposes

Awesome Grep

GitHub stars GitHub forks

contributions welcome

Hits

Grep is a command line utility that searches files for lines that match a regular expression.

The first version of this utility appeared almost 50 years ago, in 1973. But it is still actively used and maintained (the last version was released in August 2021! https://ftp.gnu.org/gnu/grep/).

This repository contains various modifications of grep, as well as analogues of this utility for a wide variety of search tasks.

Name Description Link.
RZgrep "Grep utility that searches through zip,jar,ear,tgz,bz2 in any form of nesting" https://github.com/MoserMichael/rzgrep
XLSgrep "CLI tool to search text in XLSX, XLS and ODS files. It works similarly to Unix/GNU Linux grep" https://github.com/zazuum/xlsxgrep
Hgrep "Grep" for searching/replacement in html code https://github.com/TUVIMEN/hgrep
BINgrep Grep for binaries files https://github.com/m4b/bingrep
Cgrep Grep for source codes in C/C++ https://github.com/awgn/cgrep
Ngrep PCAP-based tool that allows you to specify an extended regular or hexadecimal expression to match against data payloads of packets. It understands many kinds of protocols, including IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw https://github.com/jpr5/ngrep
PHPgrep Grep for PHP source code https://github.com/quasilyte/phpgrep
UCG (Universal Code Grep) Extremely fast grep-like tool specialized for searching large bodies of source code https://github.com/gvansickle/ucg
MP4grep CLI for transcribing and searching audio/video files https://github.com/o-oconnell/mp4grep
Hackers Grep Utility to search for strings in PE executables including imports, exports, and debug symbols https://github.com/codypierce/hackers-grep
JVgrep Grep for Japanese vimmer. You can find text from files that written in another Japanese encodings https://github.com/mattn/jvgrep
LiveGrep Online grep search in Github repositories https://livegrep.com/
DNgrep Graphical grep tool for Windows https://github.com/dnGrep/dnGrep
Greplace.vim Global search and replace for VI https://github.com/skwp/greplace.vim
SearchInProject_SublimeText Use ag, ack, grep and git grep directly from Sublime Text 2 and 3 https://github.com/leonid-shevtsov/SearchInProject_SublimeText
ACK3 grep-like Perl search tool optimized for source code https://github.com/beyondgrep/ack3
The Silver Searcher Extreme grep-like C+Perl search tool for source code https://github.com/ggreer/the_silver_searcher
Sift GO fast and powerfull alternative for grep https://github.com/svent/sift
PRU Ruby analog for grep, sed, awk https://github.com/grosser/pru
BlueFlower Python grep tool for searcing in PDF, DOCX, XLSX, tar, ZIP, bzip2, gzip https://github.com/veorq/blueflower
RipGrep (rg) ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern, similar to the Silver Searcher, awk; but (much) faster https://github.com/BurntSushi/ripgrep
WinGrep Simple Windows utility to search for strings in Windows files. https://github.com/alexgelman/WinGrep
FQGREP Grep for FASTQ (text-based format for storing both a biological sequence) files https://github.com/fulcrumgenomics/fqgrep
Searchdb Search tool that will go faster than grep -r optimize for Windows https://github.com/Termux1337/Searchdb

To get the most out of the grep utilities mentioned above, use them along with sed and awk (and add some Perl in particularly difficult cases).

You can read more about all this here:

Command line text processing manual https://github.com/learnbyexample/Command-line-text-processing

Universal examples of the use of GREP

Examples of regular expressions for extracting various data from texts can be found in the repository:

https://github.com/cipher387/grep_for_osint


Twitter — https://twitter.com/cyb_detective

Telegram — https://t.me/cybdetective

Github — https://github.com/cipher387

Discord — https://cipher387.github.io/discordlink.html