Finds lines that match entered patterns.
Grep is a tool for finding text inside files. Text is found by matching a pattern provided by the user in one or many files. The pattern may be provided as a basic or extended regular expression, or as fixed strings. By default, the matching text is simply printed to the screen, however the output can be greatly customized to include, for example, line numbers. GNU grep offers many extensions over the standard utility, including, for example, recursive directory searching.
Selection from the FSF shop
If you have corrections to this entry or questions about it, please contact: mailto:email@example.com
- IRC general channel
released on 2 January 2020
OpenPGP signature URL: https://ftpmirror.gnu.org/grep/grep-3.4.tar.xz.sig
Accepts cryptocurrency donations.
git clone git://git.sv.gnu.org/grep.git
15 February 2017
Leaders and contributors
Resources and communication
|VCS Repository Webview||https://git.savannah.gnu.org/cgit/grep.git/|
This entry (in part or in whole) was last reviewed on 14 January 2020.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.