Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2008 11:34:05 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        "Dorr H. Clark" <dclark@engr.scu.edu>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: gnu/105221: grep(1): `grep -w -F ""` issue
Message-ID:  <20081009073405.GA96899@nagual.pp.ru>
In-Reply-To: <200810090700.m9970DNZ048308@freefall.freebsd.org>
References:  <200810090700.m9970DNZ048308@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 09, 2008 at 07:00:13AM +0000, Dorr H. Clark wrote:
>  A proposed fix then, is to immediately fail the search for a match 
>  when grep is called with this combination of options if the
>  string to match is zero-length (and thus, trivially does not match
>  the non-empty input!).

grep should be updated to the latest GNU variant already long ago, lost of 
bugs are fixed there, but with all that new snv stuff I not have enough 
time to deal with.

BTW, and sort too.

-- 
http://ache.pp.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081009073405.GA96899>