How to correctly rebase?

Achim Gratz
Fri Dec 18 16:28:00 GMT 2015

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.

+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list