[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #23401] Add option to skip symlinks
From: |
Bob Proulx |
Subject: |
[bug #23401] Add option to skip symlinks |
Date: |
Sun, 01 Jun 2008 04:21:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-0etch1) |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #23401] Add option to skip symlinks,
Bob Proulx <=