freebsd-dev/gnu/usr.bin/grep
Baptiste Daroussin 612c330d85 Use a script wrapper for <compress>grep
Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by:	kevans
Approved by:	kevans
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D15193
2018-04-25 13:23:58 +00:00
..
tests
AUTHORS
ChangeLog
closeout.c
closeout.h
config.h gnugrep: Update the configuration. 2016-05-22 20:17:55 +00:00
COPYING
dfa.c Back out non-collating [a-z] ranges. 2016-07-14 09:47:49 +00:00
dfa.h
error.c
error.h
exclude.c
exclude.h
FREEBSD-upgrade
getpagesize.h
grep.1
grep.c Part of r245761 makes "grep -D skip" broken for pipes, i.e. 2013-08-08 11:53:47 +00:00
grep.h
grepmat.c
hard-locale.c
hard-locale.h
isdir.c
kwset.c
kwset.h
Makefile Use a script wrapper for <compress>grep 2018-04-25 13:23:58 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
NEWS
obstack.c
obstack.h
quotearg.c
quotearg.h
README
savedir.c Include "system.h" for isdir() prototype. 2015-11-04 05:38:08 +00:00
savedir.h
search.c grep: change some int types. 2013-05-20 03:15:25 +00:00
system.h
THANKS
xalloc.h
xmalloc.c
xstrtol.c
xstrtol.h
xstrtoumax.c

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.

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 files AUTHORS and THANKS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

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

See the file TODO for ideas on how you could help us improve grep.

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