2 $NetBSD: TODO,v 1.3 2004/05/05 14:52:34 cjep Exp $
4 Hopefully this program can become a full drop-in replacement for
5 GNU grep. If you want to help out, please let me (cjep@) know so that
6 we can organise our efforts efficiently.
8 1. Add functionality and maybe change flags to match GNU grep.
10 possibly use code from pax for this.
12 2. Binary file detection needs to be better (as currently this grep thinks
13 its own source code is binary...). This implementation looks at the
14 first few bytes to determine whether a file is binary. GNU grep seems
15 to search for a byte worth 0 or 128 (depending on -z).
17 (3. Merge in improvements from OpenBSD. Mostly done. Main improvement left
18 is the speed up for simple regex's.)
20 (4. Make code style more consistent with the NetBSD source tree. Have done
21 a few fixes. Could probably do with more.)
23 5. Maybe revisit symbolic link handling and -S, -P.
25 6. Sort out any performance issues, e.g.
26 i) this is slower than GNU grep;
27 ii) we probably stat wastefully.
29 7. Fix the manual page.
31 8. Possible look at regex libc speedups from FreeBSD.
33 9. The -v option is currently broken (i.e. does not invert the logic).