Difference between revisions of "Grep"

From Free Software Directory
Jump to: navigation, search
(updated new release 2.15)
Line 3: Line 3:
 
|Short description=Finds lines that match entered patterns
 
|Short description=Finds lines that match entered patterns
 
|Full description=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 than UNIX 'grep' or 'egrep.'
 
|Full description=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 than UNIX 'grep' or 'egrep.'
|Homepage URL=http://www.gnu.org/s/grep/
+
|Homepage URL=https://gnu.org/s/grep/
|Is GNU=Yes
 
 
|User level=intermediate
 
|User level=intermediate
 
|Component programs=grep,egrep,fgrep
 
|Component programs=grep,egrep,fgrep
 +
|VCS checkout command=git clone git://git.savannah.gnu.org/grep.git
 
|Computer languages=C
 
|Computer languages=C
|Documentation note=User guide included and available from http://www.gnu.org/s/grep/manual/
+
|Documentation note=User guide included and available from https://www.gnu.org/s/grep/manual/
 
|Related projects=Bitap,Diffutils,Findutils,Kodos,Sagasu,chgrep,fsgrep,gawk,pmatch,wdiff,bool
 
|Related projects=Bitap,Diffutils,Findutils,Kodos,Sagasu,chgrep,fsgrep,gawk,pmatch,wdiff,bool
 
|Keywords=grep,editing,egrep,fgrep,patterns,regex,regexp,regular expressions
 
|Keywords=grep,editing,egrep,fgrep,patterns,regex,regexp,regular expressions
|Version identifier=2.10
+
|Version identifier=2.15
|Version date=2011/11/16
+
|Version date=2013/10/26
 
|Version status=stable
 
|Version status=stable
|Version download=http://ftp.gnu.org/gnu/grep/grep-2.10.tar.xz
+
|Version download=https://ftp.gnu.org/gnu/grep/grep-2.15.tar.xz
|Last review by=Janet Casey
+
|Last review by=Genium
|Last review date=2010-03-23
+
|Last review date=2013/10/27
 
|Submitted by=Database conversion
 
|Submitted by=Database conversion
 
|Submitted date=2011-04-01
 
|Submitted date=2011-04-01
 +
|Status=
 +
|Is GNU=Yes
 +
|GNU package identifier=grep
 
}}
 
}}
 
{{Project license
 
{{Project license
Line 29: Line 32:
 
|Role=Maintainer
 
|Role=Maintainer
 
|Email=jim@meyering.net
 
|Email=jim@meyering.net
 +
|Resource URL=
 
}}
 
}}
 
{{Resource
 
{{Resource
Line 56: Line 60:
 
|Works-with=text
 
|Works-with=text
 
}}
 
}}
 +
{{Featured}}

Revision as of 12:18, 27 October 2013


[edit]

GNU Grep

https://www.gnu.org/software/grep/
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.








Entry






















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.