This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Wildcard problem with recursion
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@cygwin.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/