wosch 19c4e668e7 Added builtin decompression using zlib library, option -Z.
Enabled this new feature with the makefile variable GREP_LIBZ. If
you don't like it, compile with `make GREP_LIBZ='.

grep + zlib has several advantages:

- the shell script zgrep(1) will be basically a one line
  exec grep -Z "$@"

- no shell script, no bugs. The current zgrep implementations
  have many bugs and some grep options are no supported.

- no shell script, no security risks.

- it is a magnitude faster than a shell script

Also fixed:
0 -> STDIN_FILENO
Close a file descriptor only if the open call was successfully. It does
not hurt for the open(2) function, but the gzclose(3) function
died in free() to free up (not) allocated memory.
1997-12-20 18:46:09 +00:00
..
1993-07-06 18:45:26 +00:00
1993-06-29 06:04:45 +00:00
1993-07-06 18:45:26 +00:00
1993-07-06 18:45:26 +00:00
1993-07-06 18:45:26 +00:00
1993-07-06 18:45:26 +00:00
1993-07-06 18:45:26 +00:00
1995-05-30 05:05:38 +00:00
1993-07-06 18:45:26 +00:00
1993-07-06 18:45:26 +00:00
1993-07-06 18:45:26 +00:00
1995-05-30 05:05:38 +00:00
1993-07-06 18:45:26 +00:00
1993-07-06 18:45:26 +00:00

This is GNU grep 2.0, 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 major revision.

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 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
will run more slowly, however.)

See the file AUTHORS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

See the file MANIFEST for a list of files in this distribution.

See the file NEWS for a description of major changes in this release.

See the file PROJECTS if you want to be mentioned in AUTHORS.

Send bug reports to bug-gnu-utils@prep.ai.mit.edu.  Be sure to
include the word "grep" in your Subject: header field.