Commit Graph

13 Commits

Author SHA1 Message Date
christos 11ecaffd58 remove dup usage print (enh at google dot com):
arm just sent us (Android) this:
https://android-review.googlesource.com/#/c/100970/1
2014-07-11 16:30:45 +00:00
joerg 0fe4b4b06b Remove matchall handling for now, it doesn't work correctly and as such,
it is a premature optimisation.
2012-05-06 22:27:00 +00:00
joerg 6818646ac8 Use __dead 2011-09-16 15:39:25 +00:00
joerg 6a4bfecd54 Avoid C99 features. 2011-04-18 23:22:42 +00:00
joerg 34bdd27889 Add support for --null-data. Change -Z to behave like GNU grep's -Z. 2011-04-18 22:46:48 +00:00
joerg ff9dcf4380 Redo context printing so that adjourning contexts don't print the
separator, following GNU grep's behavior in this regard.
2011-04-18 17:18:03 +00:00
joerg 4bb7e7be1d Use the more portable getline. 2011-04-18 03:48:23 +00:00
joerg f7d22212e7 Include nbtool_config.h for tool builds. 2011-04-18 03:27:40 +00:00
joerg 0a1172667a Replace usr.bin/grep with the BSD grep implementation from FreeBSD. 2011-02-16 01:31:33 +00:00
rillig 6e29471885 Changed the type of some size variables from int to size_t. Added const
qualifiers to some parameters. These changes allow WARNS to be raised to
4.
2006-05-15 21:12:21 +00:00
cjep 0d48a39432 Implement --line-buffered. From OpenBSD. 2004-05-05 14:34:55 +00:00
cjep 26e45f0c9a Import of our changes to grep developed in othersrc. A very
brief summary:

* Add NetBSD RCS Ids. Change to use a date based version number.
* Remove unused variables and functions.
* Move towards NetBSD code style.
* Add missing GNU options (except for --include, --exclude and
	--line-buffered)
* Bug fixes
* Bug fixes and changes from OpenBSD's src/usr.bin/grep

A full list of changes can be viewed in the NetBSD CVS repository at
othersrc/usr.bin/grep. A ChangeLog is also available at:
	ftp://ftp.NetBSD.org/pub/NetBSD/misc/cjep/grep-ChangeLog.txt

If you want to help out, please let me (cjep@) know so that we can
organise our efforts efficiently.
2004-01-02 15:00:29 +00:00
cjep 232a750c61 Import of BSD-licensed grep by James Howard and Dag-Erling Coïdan
Smørgrav. This import is of version 0.16.
2004-01-02 14:58:43 +00:00