freebsd-src/gnu
Wolfram Schneider a6f4e3c4dc 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
..
gnu2bmake Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
include Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
lib <gnuregex.h> is rather old and breaks AWK's regex matching. Use a newer 1997-10-19 13:39:55 +00:00
libexec Include optional support for HDB-style config files, so the true masochists 1997-10-07 07:23:28 +00:00
usr.bin Added builtin decompression using zlib library, option -Z. 1997-12-20 18:46:09 +00:00
usr.sbin Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
COPYING Updated GNU utilities 1993-06-18 04:22:21 +00:00
COPYING.LIB Adding GPL docs, make structure. 1993-06-18 06:05:45 +00:00
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00