delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <20021010000744.10458.qmail@web40514.mail.yahoo.com> |
Date: | Wed, 9 Oct 2002 17:07:44 -0700 (PDT) |
From: | Sheryl McKeown <iboulder AT yahoo DOT com> |
Reply-To: | smckeown AT mac DOT com |
Subject: | Re: grep -i -R path32 * vs grep -i -R path32 *.vb* |
To: | Michael Schaap <cygwin AT mscha DOT org>, cygwin AT cygwin DOT com |
In-Reply-To: | <3DA4BCB4.9090801@mscha.org> |
MIME-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |