bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --only-matching interacts badly with context lines and line head [bu


From: Charles Levert
Subject: Re: --only-matching interacts badly with context lines and line head [bug-grep]
Date: Wed, 23 Feb 2005 06:43:22 -0500
User-agent: Mutt/1.4.1i

* On Wednesday 2005-02-23 at 09:51:34 +0000, Julian Foad wrote:
> Charles Levert wrote:
> >I found another set of issues with -o/--only-matching.
> 
> See my patch #3477 at 
> https://savannah.gnu.org/patch/?func=detailitem&item_id=3477
> which provides tests for some of these problems.  (It's about time I 
> checked it in to CVS.)

My version still fails the "end of a previous match should
not match ^" test.

"grep --color" is equally affected by this.

This one will not be easy to fix, since the "^" does
not necessarily appear at the beginning of the pattern
with egrep.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]