X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke Subject: Re: Inconsistency in find ... -name ... Date: Thu, 18 May 2006 10:59:16 -0500 Lines: 19 Message-ID: References: <051620061137 DOT 29527 DOT 4469B970000106240000735722070208530A050E040D0C079D0A AT comcast DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/