bug#26832: bug on grep 3.0

2017-05-11 Thread Eric Blake
On 05/08/2017 06:46 PM, Paul Eggert wrote: > This bug has the feel of Bug#25707, which was fixed as described in: > > http://bugs.gnu.org/25707 In fact, that bug was filed upstream _because_ of cygwin's coordinated move to have grep, sed, and awk no longer mangle binary files. > > Can you try a

bug#26832: bug on grep 3.0

2017-05-11 Thread Eric Blake
On 05/10/2017 12:38 PM, Eric Blake wrote: >> BTW, I realized follows. >> Incorrect outputs of grep are output only on command prompt of Windows. >> Correct results are output on console of cygwin. > > Then this is an issue in how cygwin programs handle their arguments when > invoked from a native

bug#26832: bug on grep 3.0

2017-05-10 Thread Eric Blake
tag 26832 notabug thanks On 05/10/2017 03:02 AM, 川崎 正貴 wrote: > > BTW, I realized follows. > Incorrect outputs of grep are output only on command prompt of Windows. > Correct results are output on console of cygwin. Then this is an issue in how cygwin programs handle their arguments when invoke

bug#26832: bug on grep 3.0

2017-05-10 Thread 川崎 正貴
On 2017/05/09 8:46, Paul Eggert wrote: > 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

bug#26832: bug on grep 3.0

2017-05-10 Thread Paul Eggert
川崎 正貴 wrote: bootstrap modified shebang '#!/bin/sh -x' outputs: -- + git submodule update -- gnulib Cloning into '/home/username/grep/gnulib'... fatal: repository 'https://git.sv.gnu.org/gnulib.git/' not found I'm afraid I don't know offhand what sort of problem would cause this. (Perhaps it's

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

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 川崎 正貴
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 '/