On Mon, Oct 10, 2016 at 09:53:55PM +0200, Martijn van Duren wrote:
> Hello tech@,
>
> As reported and fixed by pfg@freebsd.
> Fixes the following case:
> % echo z | gsed -n -e 's/^a*/b/2p'
> # empty -- correct
> % echo z | sed -n -e 's/^a*/b/2p'
> z # incorrect
>
> Fix in FreeBSD r302973
>
>
Hello tech@,
As reported and fixed by pfg@freebsd.
Fixes the following case:
% echo z | gsed -n -e 's/^a*/b/2p'
# empty -- correct
% echo z | sed -n -e 's/^a*/b/2p'
z # incorrect
Fix in FreeBSD r302973
OK?
martijn@
Index: process.c