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 clone https://git.savannah.gnu.org/git/grep.git > cd grep > ./bootstrap > ./configure > make > echo rr/| src/grep '^.*\/$'
bootstrap failed. 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 -- Accessing to the url by web browser,it is redirected 'https://git.savannah.gnu.org/gnulib.git/' and displays 404 page. BTW, I realized follows. Incorrect outputs of grep are output only on command prompt of Windows. Correct results are output on console of cygwin. Both grep path are /usr/bin/grep and the version is Cygwin (3.0-2). If use 'sh -c' on command prompt of Windows, I can get correct output. >sh -c "echo rr/| grep '^.*\/$'" rr/ thanks.