Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 16 Jan 2001 22:10:47 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: possible bug with find
Message-ID: <20010116221047.C31567@cobold.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <BF35D9C143BCCC4EB63181B67C9320C804DCDD@serv-075.icon-germany.local> <3A64C37A.DBCC43C7@familiehaase.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@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

