bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #32520] If you use --include -- grep does not recurse all subdirect


From: Keith Daniels
Subject: [bug #32520] If you use --include -- grep does not recurse all subdirectires
Date: Thu, 17 Feb 2011 20:19:13 +0000
User-agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.7.62 Version/11.01

Follow-up Comment #2, bug #32520 (project grep):

OK, I'm slow but I finally figured it out.

Ignore everything in my post.  It's not a bug--it's a feature.

What confused me was this from the Info file:

`--include=GLOB'
     Search only *bold*files*bold* whose base name matches GLOB (using
wildcard matching as described under `--exclude').

You need to point out that it also blocks recursion in any directory whose
name does not match the specified GLOB.

Best I can tell, there is no way to do what I wanted to do--without using a
loop of some kind in a script as input to grep.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32520>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]