Difference between revisions of "Grep"
From Christoph's Personal Wiki
(→See also) |
|||
Line 8: | Line 8: | ||
*[http://www.jedsoft.org/jed/ rgrep] — ''recursive grep'' | *[http://www.jedsoft.org/jed/ rgrep] — ''recursive grep'' | ||
*[[wikipedia:pgrep|pgrep]] — displays the processes whose names match a regular expression | *[[wikipedia:pgrep|pgrep]] — displays the processes whose names match a regular expression | ||
− | *[http://robur.slu.se/jensl/ugrep/ ugrep] & | + | *[http://robur.slu.se/jensl/ugrep/ ugrep] — only do basic regexp string matching |
*[http://search.cpan.org/src/CWEST/ppt-0.14/html/commands/grep/tcgrep.html tcgrep] — rewrite of grep which uses [[Perl]] [[regular expression]] syntax | *[http://search.cpan.org/src/CWEST/ppt-0.14/html/commands/grep/tcgrep.html tcgrep] — rewrite of grep which uses [[Perl]] [[regular expression]] syntax | ||
*[http://apachegrep.sourceforge.net/ apachegrep] — a Perl program to help webmasters go through their [[apache]] logs | *[http://apachegrep.sourceforge.net/ apachegrep] — a Perl program to help webmasters go through their [[apache]] logs |
Latest revision as of 08:45, 17 October 2017
grep (Global Regular Expression Print; g/re/p; global / regular expression / print) is a command line utility that for a given a list of files or standard input to read, grep searches for lines of text that match one or many regular expressions, and outputs only the matching lines.
See also
- agrep — approximate grep to facilitate fuzzy string searching
- fgrep — fixed pattern searches
- egrep — for searches involving more sophisticated regular expression syntax
- ngrep — network grep
- rgrep — recursive grep
- pgrep — displays the processes whose names match a regular expression
- ugrep — only do basic regexp string matching
- tcgrep — rewrite of grep which uses Perl regular expression syntax
- apachegrep — a Perl program to help webmasters go through their apache logs
- rexgrep — GUI frontend to grep
- webgrep — a set of 7 search utilities for web-masters
Other
- Structure grep (sgrep)
- Nondeterministic reverse grep (NR-grep)
- Grouse Grep (ggrep)
- Python Grep (pygrep)
- Multilingual Grep (lv)
External links
- GNU grep — the grep that usually comes with Linux distributions
- GNU grep man page
- The grep Command - by The Linux Information Project (LINFO)
- "The Treacherous Optimization" — article on tradeoffs in grep to favor best-case over worst-case scenarios
- Egrep for linguists — an introduction to egrep.
- Tony Abou-Assaleh's list of Greps
- TCGrep