From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9497 invoked by alias); 18 Dec 2015 16:28:33 -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 9487 invoked by uid 89); 18 Dec 2015 16:28:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPAM_URI,SPF_PASS autolearn=no version=3.3.2 spammy=Stuff, diy, DIY.html, DIYhtml X-HELO: mail-in-01.arcor-online.net Received: from mail-in-01.arcor-online.net (HELO mail-in-01.arcor-online.net) (151.189.21.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 18 Dec 2015 16:28:31 +0000 Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mx.arcor.de (Postfix) with ESMTP id 3pMbGh4tbDzFR3C for ; Fri, 18 Dec 2015 17:28:28 +0100 (CET) Received: from mail-in-17.arcor-online.net (mail-in-17.arcor-online.net [151.189.21.57]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id A41C16F3521 for ; Fri, 18 Dec 2015 17:28:28 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3pMbGh3lPpzYGt Received: from Gertrud (p54B7EC2A.dip0.t-ipconnect.de [84.183.236.42]) (Authenticated sender: stromeko@arcor.de) by mail-in-17.arcor-online.net (Postfix) with ESMTPSA id 3pMbGh3lPpzYGt for ; Fri, 18 Dec 2015 17:28:28 +0100 (CET) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: How to correctly rebase? References: <22046.25592.311399.765933@woitok.gmail.com> <8925F252-F479-4990-B568-1EC612DF39A5@etr-usa.com> <22047.42793.36600.773496@woitok.gmail.com> <41C9E795-AEEC-4378-8548-44DAF7DB98E7@etr-usa.com> <790A4380-09D0-445C-BF3B-9B847468DC44@etr-usa.com> Date: Fri, 18 Dec 2015 16:28:00 -0000 In-Reply-To: <790A4380-09D0-445C-BF3B-9B847468DC44@etr-usa.com> (Warren Young's message of "Fri, 16 Oct 2015 14:11:39 -0600") Message-ID: <87r3ijg1qs.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-12/txt/msg00222.txt.bz2 Warren Young writes: > How about something like=20 > > find /usr -name ${extensions} | grep -vP '(? > The syntax isn=E2=80=99t vetted, but basically I=E2=80=99m saying that GN= U grep=E2=80=99s > Perl-compatible regex mode supports negative lookbehind, which seems > like it should do what you want here. I can't use that with -regex in find, I'll have to stick to egrep compatible syntax. But lookbehind isn't really necessary in this case, so it seems that this might work, albeit certainly slower than before. I'll have to check which prefixes can possibly have these files in order to let the regex engine bail out as early as possible without backtracking too much. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html -- 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