Difference between revisions of "Grep"

From Free Software Directory
Jump to: navigation, search
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/
 +
|Is GNU=Yes
 
|User level=intermediate
 
|User level=intermediate
|Status=Live
 
 
|Component programs=grep,egrep,fgrep
 
|Component programs=grep,egrep,fgrep
|Homepage URL=http://www.gnu.org/software/grep/
 
|VCS checkout command=
 
 
|Computer languages=C
 
|Computer languages=C
|Documentation note=User guide included and available from http://www.gnu.org/software/grep/doc/grep.html
+
|Documentation note=User guide included and available from http://www.gnu.org/s/grep/manual/
|Paid support=
 
|IRC help=
 
|IRC general=
 
|IRC development=
 
 
|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
+
|Keywords=grep,editing,egrep,fgrep,patterns,regex,regexp,regular expressions
|Is GNU=y
+
|Version identifier=2.8
 +
|Version date=2011/06/21
 +
|Version status=stable
 +
|Version download=http://ftp.gnu.org/gnu/grep/grep-2.8.tar.xz
 
|Last review by=Janet Casey
 
|Last review by=Janet Casey
 
|Last review date=2010-03-23
 
|Last review date=2010-03-23
 
|Submitted by=Database conversion
 
|Submitted by=Database conversion
 
|Submitted date=2011-04-01
 
|Submitted date=2011-04-01
|Version identifier=2.7
+
}}
|Version date=2010-09-20
+
{{Project license
|Version status=stable
+
|License=GPLv3orlater
|Version download=http://ftp.gnu.org/gnu/grep/grep-2.7.tar.gz
+
|License verified by=Kelly Hopkins
 
|License verified date=2010-09-23
 
|License verified date=2010-09-23
|Version comment=
 
 
}}
 
}}
 
{{Person
 
{{Person
 +
|Real name=Bernhard Rosenkraenzer
 
|Role=Maintainer
 
|Role=Maintainer
|Real name=Bernhard Rosenkraenzer
 
|Email=
 
|Resource URL=
 
 
}}
 
}}
 
{{Person
 
{{Person
 +
|Real name=Tony Abou-Assaleh
 
|Role=Maintainer
 
|Role=Maintainer
|Real name=Tony Abou-Assaleh
 
 
|Email=taa@acm.org
 
|Email=taa@acm.org
|Resource URL=
 
 
}}
 
}}
 
{{Resource
 
{{Resource
Line 65: Line 59:
 
|Use=text-creation
 
|Use=text-creation
 
|Works-with=text
 
|Works-with=text
}}
 
{{Project license
 
|License=GPLv3orlater
 
|License verified by=Kelly Hopkins
 
|License verified date=2010-09-23
 
 
}}
 
}}

Revision as of 03:10, 6 October 2011


[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.