bug#26832: bug on grep 3.0

2017-05-08 Thread 川崎 正貴
I found a bug on grep 3.0 on 64bit cygwin. It seems that '\/' before '$' causes probrems. grep 2.25(correct) >echo rr/| grep '^.*\/$' rr/ >echo rr/| gawk '/^.*\/$/' rr/ >echo rr/| sed -ne '/^.*\/$/p' rr/ grep 3.0(incorrect) >echo rr/| grep '^.*\/$' >echo rr/| gawk '/^.*\/$/' >echo rr/| sed -ne '/

bug#26832: bug on grep 3.0

2017-05-08 Thread Norihiro Tanaka
On Mon, 8 May 2017 16:56:31 +0900 Masataka Kawasaki wrote: > I found a bug on grep 3.0 on 64bit cygwin. > It seems that '\/' before '$' causes probrems. > > grep 2.25(correct) > >echo rr/| grep '^.*\/$' > rr/ > >echo rr/| gawk '/^.*\/$/' > rr/ > >echo rr/| sed -ne '/^.*\/$/p' > rr/ > > grep 3.

bug#26832: bug on grep 3.0

2017-05-08 Thread Paul Eggert
This bug has the feel of Bug#25707, which was fixed as described in: http://bugs.gnu.org/25707 Can you try a grep with that fix? Here's one way to build and test grep with the fix, assuming you have sufficient developer tools installed: git clone https://git.savannah.gnu.org/git/grep.git cd g