head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2010.08.23.10.04.26;	author gabor;	state dead;
branches;
next	1.1;

1.1
date	2010.07.22.19.11.57;	author gabor;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 211701 on 2010-08-23 10:04:26Z by gabor

- Change default grep back to GNU version. BSD grep can be built with the
  WITH_BSD_GREP knob.
- Bump __FreeBSD_version

Requested by:   dougb
Approved by:    delphij (mentor)
@
text
@.\" $FreeBSD: src/tools/build/options/WITH_GNU_GREP,v 1.1 2010/07/22 19:11:57 gabor Exp $
Set to build the base system with GNU grep instead of BSD grep
@


1.1
log
@SVN rev 210389 on 2010-07-22 19:11:57Z by gabor

Add BSD grep to the base system and make it our default grep.

Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC),
              lower memory usage than GNU grep, GNU compatibility,
              BSD license.

TODO:         Performance is somewhat behind GNU grep but it is only
              significant for bigger searches.  The reason is complex, the
              most important factor is that GNU grep uses lots of
              optimizations to improve the speed of the regex library.
              First, we need a modern regex library (practically by adopting
              TRE), add support for GNU-style non-standard regexes and then
              reevalute the performance issues and look for bottlenecks.  In
              the meantime, for those, who need better performance, it is
              possible to build GNU grep by setting WITH_GNU_GREP.

Approved by:            delphij (mentor)
Obtained from:          OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/),
                        freegrep (http://github.com/howardjp/freegrep)
Sponsored by:           Google SoC 2008
Portbuild tests run by: kris, pav, erwin
Acknowledgements to:    fjoe (as SoC 2008 mentor),
                        everyone who helped in reviewing and testing
@
text
@d1 1
a1 1
.\" $FreeBSD$
@

