diff options
author | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1999-10-06 01:13:21 +0000 |
---|---|---|
committer | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1999-10-06 01:13:21 +0000 |
commit | d206e058e9f71d7f79bd995bceb1624f1b5cb546 (patch) | |
tree | 444d60b7f8ea714a6e0ab9715953969c67918b7c /djgpp/Makefile.am | |
parent | 6381e78b88522d6053c3da06e5c6a1354f94cf4c (diff) | |
download | grep-d206e058e9f71d7f79bd995bceb1624f1b5cb546.tar.gz |
make egrep == grep -E.
Bugfixes
Accept a patch from Paul to make egrep == grep -E.
added new tests
* NEWS: egrep is now equivalent to `grep -E'.
The lower bound of an interval is not optional.
You can specify a matcher multiple types without error.
-u and -U are now allowed on non-DOS hosts, and have no effect.
* doc/grep.texi: Likewise.
* doc/grep.1: Likewise.
Fix some troff bugs that prevented `groff' from rendering the page.
* src/egrepmat.c, src/fgrepmat.c, src/grepmat.c (default_matcher):
Remove.
(matcher): Add.
* src/grep.h (default_matcher): Remove.
(matcher): Now exported from ?grepmat.c, not grep.c.
* src/dfa.c (lex): If { would start an invalid interval specification,
* src/grep.c (short_options): New constant.
(long_options, main): -u and -U are now supported on Unix,
with no effect.
(matcher): Removed; now defined by ?grepmat.c.
(install_matcher): Renamed from setmatcher.
(setmatcher): New function.
(usage): Report new, more uniform option scheme.
(main): Do not initialize matcher; ?grepmat.c now does this.
Rely on setmatcher to catch matcher conflicts.
Default matcher is "grep".
* src/search.c (matchers):
Remove "posix-egrep" matcher; no longer needed.
(Ecompile): Likewise.
The egrep matcher now has POSIX behavior.
* tests/bre.tests: grep '\{' is no longer an error.
Fix test for interval too large, and enable it.
* tests/ere.tests: grep -E {1 is no longer an error
Likewise for a{1, a{1a, a{1a}, a{1,x}.
Diffstat (limited to 'djgpp/Makefile.am')
0 files changed, 0 insertions, 0 deletions