[mdlug] grep bug?
Robert Meier
list1c30fe42 at bellsouth.net
Wed Apr 16 23:22:57 EDT 2008
Ray,
> Since I'm one minor rev ahead of you that might have been a bug fix. Are
> you as up to date as you can be? Alternatively it could be a compiler
> flag [issue], rather [than] a bug in the code itself.
"...
2005-06-21 Charles Levert <charles_levert at gna.org>
...
* src/grep.c (prline): Simplifying rewrite using
print_line_middle() and print_line_tail(). No longer attempts
to find matches to colorize in context lines, thus avoiding
costly calls to (*execute)(), since we know by then that they
can't contain any by definition. There are no longer four
different code paths whether -o and -i are each specified
or not; they have been unified into one, which should help
avoid bugs similar to previous ones due to not updating all
code paths in a synchronized fashion. The -i code has been
explicitly marked since it doesn't belong there and should
be removed as soon as other -i code elsewhere is fixed.
The remaining GREP_COLORS functionality is implemented.
Savannah patch #3771 and patch #3644, heavily reworked.
...
2002-03-26 Bernhard Rosenkraenzer <bero at arklinux.org>
* 2.5.1 Release.
..."
-- ftp://ftp.ibiblio.org/pub/mirrors/gnu/ftp/gnu/grep/
grep-2.5.3.tar.gz:grep-2.5.3/ChangeLog
> Looks like a set of scripts need to be written to test all the possible
> combinations of switches for the core utilities. Hmmm. No small project...
Good design, done before coding, can usually structure things
(orthogonal modules) so that testing is a small project.
This is presumably the intent of unifying the four code paths into one.
"...
2005-04-27 Julian Foad <julianfoad at btopenworld.com>
Add more tests, some initially failing.
* tests/foad1.sh: Add tests for "--color", most initially failing.
..."
-- ftp://ftp.ibiblio.org/pub/mirrors/gnu/ftp/gnu/grep/
grep-2.5.3.tar.gz:grep-2.5.3/ChangeLog
Reporting,
--
Bob
"Anthropology demands the open-mindedness,
with which one must look and listen,
record in astonishment,
and wonder that which one would not have been able to guess."
-- Margaret Mead
More information about the mdlug
mailing list