X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:references:in-reply-to:subject:date
	:message-id:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=JrI+G9nJ3Ry3kiCdS/9t5/ckO9fm4zzmO1QO31j5J6b
	3/eOqDGsSPusPt7dqtyX+NyfD4slYR6lyM68yzecj+pwg3KfNfH9iaPQx8YD+HpQ
	OGKWu8YhWpu/T3NPCyavO+LO0v3+c60cjGh4cfGom3D5p2ybr1F5tTy4EtFvXlLQ
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:references:in-reply-to:subject:date
	:message-id:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=07Q7aiGMoJqznUo3w0h37roWSaU=; b=YEVXQ885nb6MwMHAh
	nd1/C6FgZZaEm+hS+0UHUJNQVbciuHDAzI3bnnc2XEa0hbMMx4i89Uvv2Jpg3jsw
	iFx6T4oU25BmgjsJe0vLDPax/Mr/stFjmRmcXzOHWQoXN3/AkiU82+wPRrTQAXQB
	jImirSfnw+PhVP2wnmmoxlVV+Q=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00,CYGWIN_OWNER_BODY,GIT_PATCH_2,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*RU:sk:sonic31, Hx-spam-relays-external:sk:sonic31, H*r:sk:sonic31, HX-HELO:sk:sonic31
X-HELO: sonic311-25.consmr.mail.gq1.yahoo.com
From: "Michel LaBarre" <michel.labarre@rogers.com>
To: "'Dmitry Lanin'" <jjj17@yandex.ru>, <cygwin@cygwin.com>
References: <1594742711.20180504163154@yandex.ru>
In-Reply-To: <1594742711.20180504163154@yandex.ru>
Subject: RE: grep does not work with [^...]
Date: Fri, 4 May 2018 17:03:32 -0400
Message-ID: <000901d3e3eb$5d56ddb0$18049910$@rogers.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Run it in bash instead.
^ is a quote character in CMD.

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
> Behalf Of Dmitry Lanin
> Sent: May 4, 2018 4:32 PM
> To: cygwin@cygwin.com
> Subject: Bug: grep does not work with [^...]
> 
> Bug: grep does not work with [^...]
> 
> Run the following command:
> echo qwe | grep -E '[^r]'
> 
> Expected result:
> qwe
> 
> Actual result:
> -nothing-
> 
> -----------------------------------
> cygwin DLL version: 2.10.0
> base-cygwin          3.8-1
> bash                 4.4.12-3
> coreutils            8.26-2
> cygutils             1.4.16-2
> cygwin               2.10.0-1
> grep                 3.0-2
> -----------------------------------
> 
> Kind regards,
> Dmitry
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

