X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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" To: "'Dmitry Lanin'" , References: <1594742711 DOT 20180504163154 AT yandex DOT 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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On > Behalf Of Dmitry Lanin > Sent: May 4, 2018 4:32 PM > To: cygwin AT cygwin DOT 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