Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 16 Jan 2001 22:10:47 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: possible bug with find Message-ID: <20010116221047.C31567@cobold.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <3A64C37A DOT DBCC43C7 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A64C37A.DBCC43C7@familiehaase.de>; from gerrit@familiehaase.de on Tue, Jan 16, 2001 at 09:56:10PM +0000 On Tue, Jan 16, 2001 at 09:56:10PM +0000, Gerrit Peter Haase wrote: > Heribert Dahms schrieb: > > > > Hi Timo, > > > > no bug, user error: On every *ix you normally need quotation to prevent the > > shell from file globbing (wildcard expansion) before involing programs, like > > > > find GtkRadiant -iname '*.cpp' -print > > WHAT??? > > $ find include -iname *.h -print > > include/ansidecl.h > etc. USER ERROR!!! This doesn't work in tcsh for example. If you are using *.h in a directory which itself doesn't contain a file that matches, sh doesn't expand the wildcard and sends it unresolved to the application. tcsh doesn't do this, though, but instead raises an error message: find: No match. Cd into the include directory itself and try it again. You will be surprised... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple