English [en]

The  9th HACKERS MEETING  will be held in Rennes (France) from August 18 to 20.

GNU Grep

Grep searches one or more input files for lines containing a match to a specified pattern. By default, Grep outputs the matching lines.

Downloading Grep

Grep can be found on the main GNU ftp server: http://ftp.gnu.org/gnu/grep/ (via HTTP) and ftp://ftp.gnu.org/gnu/grep/ (via FTP). It can also be found on the GNU mirrors; please use a mirror if possible.

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 in "grep - Git Repositories".

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


Documentation for Grep is available online, as is documentation for most GNU software. You may also find more information about Grep by running info grep or man grep, or by looking at /usr/share/doc/grep/, /usr/local/doc/grep/, or similar directories on your system. A brief summary is available by running grep --help.

Mailing lists

Grep has the following mailing lists:

Announcements about Grep and most other GNU software are made on info-gnu (archive).

Security reports that should not be made immediately public can be sent directly to the maintainer. If there is no response to an urgent issue, you can escalate to the general security mailing list for advice.

Getting involved

Development of Grep, and GNU in general, is a volunteer effort, and you can contribute. For information, please read How to help GNU. If you'd like to get involved, it's a good idea to join the bug mailing list (see above).

Test releases
Trying the latest test release (when available) is always appreciated. Test releases of Grep are typically announced on the platform-testers mailing list.
Information for GNU grep developers is a comprehensive source for all development-related matters. For development sources and other information, please see the Grep project page at savannah.gnu.org.
Translating Grep
To translate Grep's messages into other languages, please see the Translation Project page for Grep. If you have a new translation of the message strings, or updates to the existing strings, please have the changes made in this repository. Only translations from this site will be incorporated into Grep. For more information, see the Translation Project.
Grep is currently being maintained by Jim Meyering. Please use the mailing lists for contact.


Grep is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

 [FSF logo] “Our mission is to preserve, protect and promote the freedom to use, study, copy, modify, and redistribute computer software, and to defend the rights of Free Software users.”

The Free Software Foundation is the principal organizational sponsor of the GNU Operating System. Support GNU and the FSF by buying manuals and gear, joining the FSF as an associate member, or making a donation, either directly to the FSF or via Flattr.

back to top