| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | mwoehlke <mwoehlke AT tibco DOT com> |
| Subject: | Re: Inconsistency in find ... -name ... |
| Date: | Thu, 18 May 2006 10:59:16 -0500 |
| Lines: | 19 |
| Message-ID: | <e4i5kk$85i$1@sea.gmane.org> |
| References: | <051620061137 DOT 29527 DOT 4469B970000106240000735722070208530A050E040D0C079D0A AT comcast DOT net> |
| Mime-Version: | 1.0 |
| User-Agent: | Thunderbird 1.5 (X11/20051201) |
| In-Reply-To: | <051620061137.29527.4469B970000106240000735722070208530A050E040D0C079D0A@comcast.net> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |