delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/23/06:14:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 23 Oct 2003 12:14:19 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Wildcard problem with recursion
Message-ID: <20031023101419.GA1653@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000301c39949$0dc87850$9c01a8c0 AT shakti DOT tallysolutions DOT com>
Mime-Version: 1.0
In-Reply-To: <000301c39949$0dc87850$9c01a8c0@shakti.tallysolutions.com>
User-Agent: Mutt/1.4.1i

On Thu, Oct 23, 2003 at 03:05:53PM +0530, Ajith Kumar wrote:
> Cygwin utilities like grep or ls with -R options doesn't seem to be working.
> egs when I say
> >grep -r FLD_DCT_STRING  *.h??
> I get
> grep: *.hpp: No such file or directory
> 
> However there are many .h, .hxx and .hpp files in the subdirectories
> 
> ls also gives the same err.
> 
> Any solutons?

Yes, read the shell man pages to learn how file completion works.
What you want is a job for `find | xargs grep'.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


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