[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#26832: closed (bug on grep 3.0)

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26832: closed (bug on grep 3.0)
Date: Wed, 10 May 2017 17:40:03 +0000

Your message dated Wed, 10 May 2017 12:38:58 -0500
with message-id <address@hidden>
and subject line Re: bug#26832: bug on grep 3.0
has caused the debbugs.gnu.org bug report #26832,
regarding bug on grep 3.0
to be marked as done.

(If you believe you have received this mail in error, please contact

26832: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26832
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: bug on grep 3.0 Date: Mon, 8 May 2017 16:56:31 +0900 User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
I found a bug on grep 3.0 on 64bit cygwin.
It seems that '\/' before '$' causes probrems.

grep 2.25(correct)
>echo rr/| grep '^.*\/$'
>echo rr/| gawk '/^.*\/$/'
>echo rr/| sed -ne '/^.*\/$/p'

grep 3.0(incorrect)
>echo rr/| grep '^.*\/$'
>echo rr/| gawk '/^.*\/$/'
>echo rr/| sed -ne '/^.*\/$/p'


--- End Message ---
--- Begin Message --- Subject: Re: bug#26832: bug on grep 3.0 Date: Wed, 10 May 2017 12:38:58 -0500 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0
tag 26832 notabug

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
invoked from a native windows program, and/or a factor of the (weird)
quoting rules in use by the Windows native command shell (which are NOT
AT ALL like normal POSIX shell quoting rules), and nothing to do with
upstream grep. You'll probably have better results posting your question
on the cygwin mailing list.

As such, I'm taking the liberty to close this in the upstream database,
as there's nothing we can do here to change behavior.

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]