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.
|