Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20021010000744.10458.qmail@web40514.mail.yahoo.com> Date: Wed, 9 Oct 2002 17:07:44 -0700 (PDT) From: Sheryl McKeown Reply-To: smckeown AT mac DOT com Subject: Re: grep -i -R path32 * vs grep -i -R path32 *.vb* To: Michael Schaap , cygwin AT cygwin DOT com In-Reply-To: <3DA4BCB4.9090801@mscha.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Michael, Thanks for the response. > >>.grep -i -R path32 * > > 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/