Commit Graph

31 Commits

Author SHA1 Message Date
obrien
0b7fec6762 Build and install a BSD licensed grep.
If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be
'[ef]grep'.  Otherwise, BSD-grep will be the grep family, and GNUgrep
will be 'gnugrep'.

Discussed with: brooks
2011-05-25 01:04:12 +00:00
tjr
25b0d01442 Update for grep 2.5.1. 2004-07-04 10:05:37 +00:00
ache
15469f77d2 Merge conflicts, upgrade 2004-03-01 08:37:20 +00:00
ache
2bf5bfe61f Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu 2004-02-17 05:38:45 +00:00
ache
24f49b8cb4 1) Remove files no longer needed.
2) Switch back to regex.h
2004-02-16 22:43:05 +00:00
ru
743cc6d002 Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
obrien
63bd46464d We HAVE_STPCPY now. 2002-10-20 07:50:20 +00:00
obrien
16ce5cfd95 Create bzgrep. 2002-09-16 04:27:29 +00:00
ru
ad8c72b589 Back out previous revision because someone upgraded our
texinfo system to one that understands "command{foo}".
2000-01-18 09:52:00 +00:00
obrien
54e7afc455 Turn off GNU Info docs until someone upgrades our texinfo system to one
that understands "command{foo}".
2000-01-04 03:27:32 +00:00
obrien
18a6d48d57 Make the tests work again. 1999-11-22 09:48:04 +00:00
obrien
26226a6af4 Finish proper hookup of GNU Grep 2.3, including docs & config header file,
rather than the compile commandline from hell.

Submitted by:	ru
1999-11-22 09:13:43 +00:00
peter
a99b0d3deb Apply a bandaid to the grep Makefile to try and get it to compile and stop
breaking world.
1999-11-21 09:44:26 +00:00
peter
5354776cb2 Back out the botched attempt to update to gnu grep 2.3 (lots of history
was lost).  Restore original version to try and avoid breaking the build
while David O'brien does a proper set of imports and merges.

Requested by:	obrien
1999-11-20 09:40:28 +00:00
ru
0b4f15f37a Upgrade grep to version 2.3 1999-10-28 10:34:55 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
wosch
09f406ace9 Added myself as maintainer. 1999-02-09 17:23:03 +00:00
wosch
d465d69601 Use mmap for reading files. This is faster than read(). 1998-11-14 23:37:32 +00:00
obrien
5a6b93580f Install z*grep manpages 1998-10-02 07:14:32 +00:00
wosch
bc665bbb6c Delete cc(1) debug option, typo from last commit.
Pointed out by: Søren Schmidt
1998-03-07 16:13:57 +00:00
wosch
05604036c1 When called as `zgrep', the -Z argument is assumed. Make a
link from zgrep to grep.

Pointed out by: Tim Vanderhoek <hoek@hwcn.org> and
                Mike Smith <mike@smith.net.au>
1997-12-21 19:15:12 +00:00
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
wosch
114c8c73e7 recursive grep, enabled with -DHAVE_FTS=1
enable mmap (-DHAVE_MMAP=1)
1996-02-02 06:45:26 +00:00
ache
e2db76d317 Use -lgnuregex
Tune for 8bit ctype
1995-01-11 05:07:00 +00:00
rgrimes
e700287fa6 Merge. Fix LINKS+= with $DESTDIR$BINDIR in them, you do NOT need to
specify $DESTDIR on a LINKS+= line.
1993-07-16 17:48:38 +00:00
conklin
69b29fcd36 Gnu grep 2.0 does fgrep too! 1993-07-08 16:18:59 +00:00
nate
bf3a05faf0 Removed egrep since the new grep is just a link to it w/out any changes
anymore
1993-07-06 18:53:50 +00:00
nate
acb9893ca7 Left an ugly in the Makefile 1993-07-06 18:45:59 +00:00
nate
a166e91d63 Update GNU grep to version 2.0 1993-07-06 18:45:26 +00:00
nate
856e67877b Ugh, whoever did the port made a mess, I cleaned up the Makefile and
deleted un-necessary stuff
1993-06-29 06:19:29 +00:00
nate
a7ff3658f6 Gnu e?grep 1.6 1993-06-29 06:04:45 +00:00