From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83891 invoked by alias); 29 Aug 2019 19:20:07 -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 83876 invoked by uid 89); 29 Aug 2019 19:20:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,KAM_THEBAT,RCVD_IN_DNSWL_LOW,RCVD_IN_JMF_BL,SPF_PASS autolearn=no version=3.3.1 spammy=H*M:yandex, HX-Languages-Length:600, H*x:Bat!, H*UA:Bat! X-HELO: forward101j.mail.yandex.net Received: from forward101j.mail.yandex.net (HELO forward101j.mail.yandex.net) (5.45.198.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Aug 2019 19:20:05 +0000 Received: from mxback16j.mail.yandex.net (mxback16j.mail.yandex.net [IPv6:2a02:6b8:0:1619::92]) by forward101j.mail.yandex.net (Yandex) with ESMTP id C527B1BE141F; Thu, 29 Aug 2019 22:20:01 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback16j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id kP3k1LRdCt-K1p4HMA3; Thu, 29 Aug 2019 22:20:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1567106401; bh=7XPPuP84ASN2VjYm9YVmcDHFXegGQrjt9qiGGB5j5PE=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=neJ03cBKgwOBFpi2RMrtt+EMLrNWPdUDSpAYdPxIKv3eimERn8qFwIPfz4as+sv5L LAjP/l0PGgaBhmX9iQSFNKSaQDAq3Y0S7Vt2fCuFRyZ3Nl5wsQB55iXoKrpCweL+mZ fhIBDaeSgT3UQLCgTSo2CzLYGUXFpyAXgyBd0vuU= Authentication-Results: mxback16j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id VePqQyb4aV-K0viRYu7; Thu, 29 Aug 2019 22:20:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 29 Aug 2019 19:08:11 -0000 Date: Thu, 29 Aug 2019 19:20:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <8910174142.20190829220811@yandex.ru> To: akiki@free.fr, cygwin@cygwin.com Subject: Re: bug with grep 3.0.2 in cygwin 3.0.7 In-Reply-To: <1207614124.1217647925.1566976580120.JavaMail.root@zimbra76-e14.priv.proxad.net> References: <1910922536.1217465852.1566975322390.JavaMail.root@zimbra76-e14.priv.proxad.net> <1207614124.1217647925.1566976580120.JavaMail.root@zimbra76-e14.priv.proxad.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00405.txt.bz2 Greetings, akiki@free.fr! > Hi, > I encounter some problem with grep option -E on cygwin 3.0.7 > echo "a^b" | grep "a^b" #answer a^b ie it's OK > but > echo "a^b" | grep -E "a^b" #answer nothing " for me it's KO That's an expected result of an impossible constraint. > I have to backslash ^ to be OK like : grep -E 'a\^b' Yes. > Is-it a bug ? No. > I don't know if all versions of cygwin and grep are concerned. RTFM, this is regexp basics. -- With best regards, Andrey Repin Thursday, August 29, 2019 22:07:04 Sorry for my terrible english... -- 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