OpenGrok
Cross Reference: grep.c
xref
: /
src
/
usr.bin
/
grep
/
grep.c
Home
|
History
|
Annotate
|
Download
|
only in
grep
History log of
/src/usr.bin/grep/grep.c
Revision
Date
Author
Comments
1.16
15-Oct-2022
andvar
fix various typos in documentation and comments.
mainly in words functionality, functional, function.
1.15
12-Aug-2018
christos
add WITHOUT_GZIP for the tools build.
1.14
12-Aug-2018
christos
add WITHOUT_BZ2 for tools build.
1.13
11-Aug-2018
christos
use setvbuf if available; it is more portable.
1.12
11-Jul-2014
christos
branches: 1.12.22; 1.12.24;
remove dup usage print (enh at google dot com):
arm just sent us (Android) this:
https://android-review.googlesource.com/#/c/100970/1
1.11
06-May-2012
joerg
branches: 1.11.2; 1.11.8;
Remove matchall handling for now, it doesn't work correctly and as such,
it is a premature optimisation.
1.10
16-Sep-2011
joerg
branches: 1.10.2;
Use __dead
1.9
18-Apr-2011
joerg
Avoid C99 features.
1.8
18-Apr-2011
joerg
Add support for --null-data. Change -Z to behave like GNU grep's -Z.
1.7
18-Apr-2011
joerg
Redo context printing so that adjourning contexts don't print the
separator, following GNU grep's behavior in this regard.
1.6
18-Apr-2011
joerg
Use the more portable getline.
1.5
18-Apr-2011
joerg
Include nbtool_config.h for tool builds.
1.4
16-Feb-2011
joerg
Replace usr.bin/grep with the BSD grep implementation from FreeBSD.
1.3
15-May-2006
rillig
branches: 1.3.40;
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.
1.2
05-May-2004
cjep
Implement --line-buffered. From OpenBSD.
1.1
02-Jan-2004
cjep
branches: 1.1.1;
Initial revision
1.1.1.2
02-Jan-2004
cjep
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.
1.1.1.1
02-Jan-2004
cjep
Import of BSD-licensed grep by James Howard and Dag-Erling Co�dan
Sm�rgrav. This import is of version 0.16.
1.3.40.1
17-Feb-2011
bouyer
Sync with HEAD
1.10.2.1
23-May-2012
yamt
sync with head.
1.11.8.1
10-Aug-2014
tls
Rebase.
1.11.2.1
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.12.24.1
10-Jun-2019
christos
Sync with HEAD
1.12.22.1
06-Sep-2018
pgoyette
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Indexes created Wed Oct 01 19:09:53 GMT 2025