summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>1999-12-30 19:19:37 +0000
committerru <ru@FreeBSD.org>1999-12-30 19:19:37 +0000
commit7f7a140cbd916b5ff42b561ff6f3fb2fd626761a (patch)
tree24091e84191879937371706b3f904a89f438885c /gnu
parent3ccdb9508cc16b277899eeb518fe0513bb8ccc82 (diff)
downloadFreeBSD-src-7f7a140cbd916b5ff42b561ff6f3fb2fd626761a.zip
FreeBSD-src-7f7a140cbd916b5ff42b561ff6f3fb2fd626761a.tar.gz
Virgin import of a trimmed down GNU Grep 2.3.
It is being re-imported here, to keep our long source change history with this source continuous. src/contrib/grep will be deleted some time in the very near future.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/grep/README68
1 files changed, 12 insertions, 56 deletions
diff --git a/gnu/usr.bin/grep/README b/gnu/usr.bin/grep/README
index 27f5bae..66c1bb2 100644
--- a/gnu/usr.bin/grep/README
+++ b/gnu/usr.bin/grep/README
@@ -1,70 +1,26 @@
-This README documents GNU e?grep version 1.6. All bugs reported for
-previous versions have been fixed.
+This is GNU grep, the "fastest grep in the west" (we hope). All
+bugs reported in previous releases have been fixed. Many exciting new
+bugs have probably been introduced in this revision.
-See the file INSTALL for compilation and installation instructions.
-
-Send bug reports to bug-gnu-utils@prep.ai.mit.edu.
-
-GNU e?grep is provided "as is" with no warranty. The exact terms
+GNU grep is provided "as is" with no warranty. The exact terms
under which you may use and (re)distribute this program are detailed
in the GNU General Public License, in the file COPYING.
-GNU e?grep is based on a fast lazy-state deterministic matcher (about
+GNU grep is based on a fast lazy-state deterministic matcher (about
twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper
search for a fixed string that eliminates impossible text from being
considered by the full regexp matcher without necessarily having to
look at every character. The result is typically many times faster
than Unix grep or egrep. (Regular expressions containing backreferencing
-may run more slowly, however.)
-
-GNU e?grep is brought to you by the efforts of several people:
-
- Mike Haertel wrote the deterministic regexp code and the bulk
- of the program.
-
- James A. Woods is responsible for the hybridized search strategy
- of using Boyer-Moore-Gosper fixed-string search as a filter
- before calling the general regexp matcher.
+will run more slowly, however.)
- Arthur David Olson contributed code that finds fixed strings for
- the aforementioned BMG search for a large class of regexps.
+See the files AUTHORS and THANKS for a list of authors and other contributors.
- Richard Stallman wrote the backtracking regexp matcher that is
- used for \<digit> backreferences, as well as the getopt that
- is provided for 4.2BSD sites. The backtracking matcher was
- originally written for GNU Emacs.
-
- D. A. Gwyn wrote the C alloca emulation that is provided so
- System V machines can run this program. (Alloca is used only
- by RMS' backtracking matcher, and then only rarely, so there
- is no loss if your machine doesn't have a "real" alloca.)
-
- Scott Anderson and Henry Spencer designed the regression tests
- used in the "regress" script.
-
- Paul Placeway wrote the manual page, based on this README.
-
-If you are interested in improving this program, you may wish to try
-any of the following:
-
-1. Replace the fast search loop with a faster search loop.
- There are several things that could be improved, the most notable
- of which would be to calculate a minimal delta2 to use.
+See the file INSTALL for compilation and installation instructions.
-2. Make backreferencing \<digit> faster. Right now, backreferencing is
- handled by calling the Emacs backtracking matcher to verify the partial
- match. This is slow; if the DFA routines could handle backreferencing
- themselves a speedup on the order of three to four times might occur
- in those cases where the backtracking matcher is called to verify nearly
- every line. Also, some portability problems due to the inclusion of the
- emacs matcher would be solved because it could then be eliminated.
- Note that expressions with backreferencing are not true regular
- expressions, and thus are not equivalent to any DFA. So this is hard.
+See the file NEWS for a description of major changes in this release.
-3. Handle POSIX style regexps. I'm not sure if this could be called an
- improvement; some of the things on regexps in the POSIX draft I have
- seen are pretty sickening. But it would be useful in the interests of
- conforming to the standard.
+See the file TODO for ideas on how you could help us improve grep.
-4. Replace the main driver program grep.c with the much cleaner main driver
- program used in GNU fgrep.
+Send bug reports to bug-gnu-utils@gnu.org. Be sure to
+include the word "grep" in your Subject: header field.
OpenPOWER on IntegriCloud