How to correctly rebase?
Warren Young
wyml@etr-usa.com
Fri Oct 16 20:11:00 GMT 2015
On Oct 16, 2015, at 1:18 AM, Achim Gratz wrote:
>
> Warren Young writes:
>> It would be nice if rebase were smart enough to look for *.mex and *.oct
> only in known Octave directories, but
>> it isn’t my itch, so I’m not going to be doing anything about it.
>
> I'll see if that's possible without running yet another find
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’ve restricted it to /usr on the theory that DLLs will always be in /bin, /usr/bin, /usr/lib/*, or /usr/share/*, and that /bin and /usr/bin are the same on Cygwin. Are there any official Cygwin packages that put them elsewhere?
--
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
More information about the Cygwin
mailing list