Two short scripts for Cygwin-Windows interoperation
Rex Godby
rwg3@york.ac.uk
Thu Jan 4 17:41:00 GMT 2007
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"'.
> HTH,
> Igor
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list