Top > Text creation and manipulation > Editors > Grep

Grep - Finds lines that match entered patterns

Package includes the GNU 'grep,' 'egrep,' and 'fgrep,' which find lines that match entered patterns. By default, grep prints the matching lines.

GNU grep is based on a fast lazy-state deterministic matcher (about twice as fast as the standard Unix grep) hybridized with a Boyer-Moore-Gosper search for a fixed string that eliminates impossible text from being considered by the full regexp match without having to look at every character; the result is usually many times faster that UNIX 'grep' or 'egrep.'



Obtaining

Web pagehttp://www.gnu.org/software/grep/grep.html
Source tarballhttp://ftp.gnu.org/pub/gnu/grep/grep-2.5.tar.gz
Version 2.5 (stable) released on 2002-03-14
Licensed under The GNU General Public License, Version 2 or later.
This is a GNU package.

Documentation
User guide included and available from http://www.gnu.org/software/grep/doc/
Support contacts

Bug List<bug-gnu-utils@gnu.org>

Project contacts

Maintainers
Developers

Related information

Interfacescommand line
Programsgrep, egrep, fgrep
Source languagesC
Related programsDiffutils, wdiff, Diffutils, Findutils

Entry information

License verified byJanet Casey <jcasey@gnu.org> on 2001-01-31
Entry compiled byJanet Casey <jcasey@gnu.org>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to bug-directory@gnu.org, or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.