diff options
author | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 2001-02-08 05:33:57 +0000 |
---|---|---|
committer | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 2001-02-08 05:33:57 +0000 |
commit | f850847ef85d69bbebb7bac5490ebccbec7ee8e2 (patch) | |
tree | bf981b3c75bc4ad6bbc4ee6ddd5a2dafc17eaf0e /TODO | |
parent | 12f781691fe890dd22e9806a1bc99e3c8014b908 (diff) | |
download | grep-f850847ef85d69bbebb7bac5490ebccbec7ee8e2.tar.gz |
* src/search.c (Pcompile): Add support for NUL bytes in
Perl regular expressions.
* NEWS, doc/grep.1, doc/grep.texi: Change --pcre to --perl-regexp.
* src/grep.c (long_options, usage): Likewise.
* doc/grep.1, doc/grep.texi: Remove pgrep program.
* src/Makefile.am (bin_PROGRAMS): Likewise.
(pgrep_SOURCES): Remove.
* src/grep.c (main): Rename matcher from "pgrep" to "perl".
* src/search.c (matchers): Likewise.
* src/search.c: Do not include stdio.h; no longer needed.
(NILP): Remove.
(sub): No longer static.
(n_pcre): Remove.
(cre): No longer an array. Present only if HAVE_LIBPCRE.
(extra): New variable.
(Pcompile): Use fatal to report errors.
This also removes a possible core dump.
Add checks (marked FIXME) for restrictions in pcre.
Use pcre_maketables for proper localized behavior.
(Pcompile, Pexecute): Use GNU coding style.
The argument is a single pattern, not a list of patterns separated
by newlines; this is for consistency with grep and egrep.
Use pcre_study for speed.
(Pexecute): Abort if we lack pcre.
Abort if pcre_exec reports an impossible error.
Use code similar to the rest of search.c
to narrow down to the line we've found.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -15,19 +15,6 @@ set and collating sequence, but Posix does not standardize any method for accessing this information! ## -Provide some sort of Hilight ... hmm Not. - -DONE: - Have different binaries for fgrep, egrep and grep. - It needs a complete rewrite of the main and how the matcher - is call; it should not depend on the name of the program. - -DONE: - Port to Win NT/95 see Delorie or cygnus win32 project - -DONE: - Merge all the modifs that are scattering around in the - various Linux distribution. Some test in tests/spencer2.tests should have failed !!! Need to filter out some bugs in dfa.[ch]/regex.[ch]. @@ -38,10 +25,6 @@ Grep does 32 bits arithmetic, it needs to move to 64. Clean up, to many #ifdef's !! -DONE: - Merge the work done By Paul Eggert - (--text, -directory=ACTION, large files). - Check some new Algorithms for matching, talk to Karl Berry and Nelson. Sunday's "Quick Search" Algorithm (CACM 33, 8 August 1990 pp. 132-142) claim that his algo. is faster then Boyer-More ???? @@ -56,7 +39,4 @@ POSIX Compliance see p10003.x Moving away from GNU regex API for POSIX regex API. -DONE(well never really finish): - Finish I18N. - Better and faster !! |