[image of the Head of a GNU]
Introduction | Get the Software | View the documentation

Introduction to grep

The grep command searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines.

Downloading grep

The current stable version of grep can be found on in the subdirectory /gnu/grep/ on your favorite GNU mirror.

The current development version (introducing new features and bugfixes, but also quite possibly new bugs) can be accessed using GIT. Detailed instructions can be found here.

For other ways to obtain grep, please read How to get GNU Software

grep Development

The Information for GNU grep developers is a comprehensive source for all development-related matters.

The Savannah project page for grep features a bug report area, a patch submission area, and other development-related tools.

If you are interested in helping with the development of GNU grep, please consider joining the bug-grep mailing list. You can subscribe from the web page of the list or by sending a mail to with "subscribe" (without the quotation marks) in the subject line (or in the body).

To follow development more closely, there is also the grep-commit mailing list to which commit log entries are automatically sent. You can subscribe from its web page or by sending a mail to with "subscribe" (without the quotation marks) in the subject line (or in the body).

Return to GNU's home page.

Please send FSF & GNU inquiries & questions to There are also other ways to contact the FSF.

Please send comments on these web pages to, send other questions to

Copyright 2013 Free Software Foundation, Inc.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Updated: $Id: grep.html,v 1.23 2013/02/02 23:55:13 veltzer Exp $