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