Grep

From Christoph's Personal Wiki
Revision as of 03:39, 14 April 2008 by Christoph (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

grep (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 &mdsah; 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