This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: grep -i -R path32 * vs grep -i -R path32 *.vb*
- From: Sheryl McKeown <iboulder at yahoo dot com>
- To: Michael Schaap <cygwin at mscha dot org>, cygwin at cygwin dot com
- Date: Wed, 9 Oct 2002 17:07:44 -0700 (PDT)
- Subject: Re: grep -i -R path32 * vs grep -i -R path32 *.vb*
- Reply-to: smckeown at mac dot com
Hi Michael,
Thanks for the response.
<snip>
> >>.grep -i -R path32 *
<snip>
> > This isn't a "dot problem". This is a grep usage
> problem.
>
> Specifically, you're telling grep to only look in
> directories which have
> '.vb' in their name.
Ok, I can live with that. For my understanding, what
does the -R expand then? I had visualized that -R
with grep was simular to ls -R. Where ls -R magically
displays all files with out having to specify a search
path. So I was thinking that grep -R magically
searched all the files without having to specify a
search path, and the *.vb* was the file designation.
However, the conclusion I'm coming to is that the
[FILE] of "Usage: grep [OPTION]... PATTERN [FILE] ..."
is really a directory _and_ file pattern.
?
-Sheryl
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/