GNU bug report logs - #26904
Wishlist: Tell grep to stop when a line matches something else.

Previous Next

Package: grep;

Reported by: LA-notifications <at> xecu.net

Date: Sat, 13 May 2017 05:57:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: LA-notifications <at> xecu.net
To: 26904 <at> debbugs.gnu.org
Subject: bug#26904: Wishlist: Tell grep to stop when a line matches something else.
Date: Sat, 13 May 2017 01:10:52 -0400
Hello.

I wish I could tell grep to stop searching in a file when it gets to a 
line matching something else. So if grep is searching a file for 'foo' 
then finds a line matching 'bar', stop searching for 'foo'. It would 
help me out a lot when searching for things in my perl modules where I 
do not want my perl pod searched.

LA




This bug report was last modified 8 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.