This is the mail archive of the
mailing list for the Cygwin project.
Re: Two short scripts for Cygwin-Windows interoperation
Thanks for your comments. I'm sure you're right about the -path method
being faster, but the resources are not significant for typical setups,
and the grep method is immediately adaptable to more sophisticated
processing of the list of filenames beyond simple pattern matching. Rex
On 04/01/2007 17:26, Igor Peshansky wrote:
Also, it's almost always faster to run 'find ... -path "*$1*"' than it is
to run 'find ... | grep "$1"'.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html