9ffc49ef33
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.
31 lines
987 B
Plaintext
31 lines
987 B
Plaintext
|
|
$NetBSD: TODO,v 1.1.1.1 2004/01/02 15:00:27 cjep Exp $
|
|
|
|
Hopefully this program can become a full drop-in replacement for
|
|
GNU grep.
|
|
|
|
1. Add functionality and maybe change flags to match GNU grep.
|
|
* --line-buffered
|
|
|
|
* --include,--exclude
|
|
possibly use code from pax for this.
|
|
|
|
2. Binary file detection needs to be better (as currently this grep thinks
|
|
its own source code is binary...). This implementation looks at the
|
|
first few bytes to determine whether a file is binary. GNU grep seems
|
|
to search for a byte worth 0 or 128 (depending on -z).
|
|
|
|
(3. Merge in improvements from OpenBSD. Mostly done. Main improvement left
|
|
is the speed up for simple regex's.)
|
|
|
|
(4. Make code style more consistent with the NetBSD source tree. Have done
|
|
a few fixes. Could probably do with more.)
|
|
|
|
5. Maybe revisit symbolic link handling and -S, -P.
|
|
|
|
6. Sort out any performance issues, e.g.
|
|
i) this is slower than GNU grep;
|
|
ii) we probably stat wastefully.
|
|
|
|
7. Fix the manual page.
|