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

You are, of course, correct.  I should be using find.  And, in fact, that's
what I did after I realized that grep wasn't behaving like I thought it
should.

However, for the uninitiated, find is ... a bit of a trek.

I appreciate your attention to this detail, as while the --{in,ex}clude
options are meant to be used in tandem with -r, I think a single directory
test to make sure one knows what they are doing is a valid "does it work?"
test.

Tangentially, do you think a couple of 'find | xargs grep' examples in the
man page would be useful?  I would be happy to craft a couple.  I just know
that I only recently (last year or so) started really using find, because I
just didn't know how to use it.  Examples in, for example, the man page of
grep, would have been very helpful.  (But, I risk littering this bug with
non-bug discussion, so I'll leave it at that.)

    _______________________________________________________

Reply to this item at:

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

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


Reply via email to