Inconsistency in find ... -name ...

mwoehlke mwoehlke@tibco.com
Thu May 18 16:04:00 GMT 2006


Eric Blake wrote:
> [snip] And be aware that my suggested alias is not perfect
> (think exit codes, among other things

alias find='_find() {
   local result;
   trap "set +f; trap SIGINT" SIGINT
   find "$@";
   result=$?;
   set +f;
   trap SIGINT
   return $result;
}; set -f; _find'

An improvement?

-- 
Matthew
Hey, buddy, if it's OT, TITTTL!


--
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