This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Inconsistency in find ... -name ...
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/