delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/16/16:17:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cygwin AT cygwin DOT com>
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: <BF35D9C143BCCC4EB63181B67C9320C804DCDD AT serv-075 DOT icon-germany DOT local> <3A64C37A DOT DBCC43C7 AT familiehaase DOT de>
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019