Follow-up Comment #1, bug #23401 (project grep):

> I suggest to add option which if specified in addition to -r would prevent
> grep from processing symlinks.
> It is a headache that "grep -r /etc/" processes all symlinks in this
folder.

This is really a better case to use find.

  find /etc -type f -exec grep PATTERN {} +

That command already provides this functionality, is standard, and works with
all of the utilities.  Adding all of 'find's behavior to grep is undesirable
duplication. 


    _______________________________________________________

Reply to this item at:

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

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



Reply via email to