Bug#831673: bug#24024: grep: Mixing "max-count" and "after-context" outputs too few lines

2016-07-26 Thread Norihiro Tanaka

> 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.



Bug#758105: bug#18266: grep -P and invalid exits with error

2014-09-10 Thread Norihiro Tanaka
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



Bug#758105: bug#18266: grep -P and invalid exits with error

2014-09-09 Thread Norihiro Tanaka
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



Bug#758105: bug#18266: grep -P and invalid exits with error

2014-09-09 Thread Norihiro Tanaka
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.org



Bug#577095: grep: bracket expressions fails depending on the locale

2010-04-09 Thread Norihiro Tanaka
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