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:subject:references:date:in-reply-to
	:message-id:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=JeSFUpL/QkmxWjafDMl/JwNDatQYkhPrlOVuWkmo3Eh
	KHgOMzVoQWNpnyD7xR2I3pTGNFf1BhbIkkCFhQqNMPx4ltlh83jSryU8pZfznoqS
	xqMvFzwbyjgJJuHZ0QwjNzRpif+ySwxBNek8qJgw0hih0DsxMF1PwS6TJ4nwcKOw
	=
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:subject:references:date:in-reply-to
	:message-id:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=ajOU/9LBK50+jxpa2tETjGwmQ5w=; b=RZjfBnuJPCLgtM6nW
	798vSsE3eZ39spn7gTnmqmU+V75nTowIdSsThASsSrdZcZcN1RfwX9E6vIUkL5RT
	nt9cW6rGWvsLBCLBaQLtpGrQ+13ckwjuB8fSRWEY91dzzBt+dbfEIx8ytn5iaEJw
	tZvmAQ87NxIh4b/chyofHbK2FM=
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.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
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3pMbGh3lPpzYGt
From: Achim Gratz <Stromeko@nexgo.de>
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>	<loom.20151016T091146-977@post.gmane.org>	<790A4380-09D0-445C-BF3B-9B847468DC44@etr-usa.com>
Date: Fri, 18 Dec 2015 17:28:27 +0100
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: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tBIGSl2p007233

Warren Young writes:
> How about something like 
>
>     find /usr -name ${extensions} | grep -vP '(?<!octave)mex' | ditto-for-oct
>
> The syntax isn’t vetted, but basically I’m saying that GNU grep’s
> 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.
-- 
+<[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


