bug-grep
[Top][All Lists]
Advanced

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

Re: [bug #25765] grep -P regexp also prints the line before the match


From: Andriy Sen
Subject: Re: [bug #25765] grep -P regexp also prints the line before the match
Date: Thu, 5 Mar 2009 11:45:17 -0500

Hmm...

My problem seem to come from the fact "^" matches not only beginning of the current line but beginning of any of the previous lines so instead of "^.*" I need to do "^[^\n]*". If that is not considered a bug than the documentation definitely needs updating...

Thanks,
Andriy






reply via email to

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