From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12373 invoked by alias); 4 May 2018 21:03:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 12350 invoked by uid 89); 4 May 2018 21:03:39 -0000 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 Received: from sonic311-25.consmr.mail.gq1.yahoo.com (HELO sonic311-25.consmr.mail.gq1.yahoo.com) (98.137.65.206) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 May 2018 21:03:38 +0000 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Fri, 4 May 2018 21:03:36 +0000 Received: from CPEf0f249022813-CMf0f249022810.cpe.net.cable.rogers.com (EHLO spiro1) ([174.112.21.117]) by smtp424.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e0750ef934828799072e913d922a39ae; Fri, 04 May 2018 21:03:34 +0000 (UTC) From: "Michel LaBarre" To: "'Dmitry Lanin'" , References: <1594742711.20180504163154@yandex.ru> In-Reply-To: <1594742711.20180504163154@yandex.ru> Subject: RE: grep does not work with [^...] Date: Fri, 04 May 2018 21:03:00 -0000 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 X-SW-Source: 2018-05/txt/msg00080.txt.bz2 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