> Igor Bogomazov filed the following bug against grep in
> Debian.
>
> > $ printf '%s\n' a b a c | grep -m1 -A3 a
> >
> > What I see:
> >
> > a
> > b
> >
> > What I expect:
> >
> > a
> > b
> > a
> > c
As long as looking at prepending(), I see that it is designed but not
documented.
Thanks. I have confirmed that new version has expected response as
following.
$ env LC_ALL=en_US.utf8 src/grep -P '.?b' in
ab
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
I see that new version has no response for following test which was used
previously.
printf '\x80ab\n' | env LC_ALL=en_US.utf8 src/grep -P '.?b'
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.or
I'm worried that to re-run for invalid UTF-8 makes slowness for searching
of the large number of binary files.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Hi,
I seem that is expected behavior. [A-Z] includes A,b,B,c,C,...y,Y,z,Z
in en_US locale (not include `a').
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
5 matches
Mail list logo