grep - Patches: patch #3521, Add options to exclude/include...
You are not allowed to post comments on this tracker with your current authentication level.
patch #3521: Add options to exclude/include directories
Submitter: | Eric Haszlakiewicz <erh> | ||
Submitted: | Mon 15 Nov 2004 09:06:36 PM UTC | ||
Votes: | 51 | ||
Category: | None | Priority: | 5 - Normal |
Status: | Wont Do | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Jump to the original submission
Sun 05 Oct 2008 10:42:37 PM UTC, comment #9: |
Doug <dougw> |
Fri 10 Feb 2006 02:31:53 PM UTC, comment #8: Wow, I'm really disappointed by this decision. It seems like it's pretty capricious and based more on tradition and hacker elitism.
|
David Coppit <coppit> |
Thu 10 Nov 2005 07:03:16 PM UTC, comment #7: This will be a nice solution to exclude .svn directories from the grep matches too
|
Rick van der Zwet <rickzwet> |
Wed 26 Jan 2005 02:50:43 PM UTC, comment #6: I meant I'd use
|
Stepan Kasal <kasal> |
Wed 26 Jan 2005 02:49:08 PM UTC, comment #5: Actually, for scripts, shell functions and aliases, I find the find|xargs solution much cleaner.
|
Stepan Kasal <kasal> |
Mon 17 Jan 2005 09:11:20 PM UTC, comment #4: So it is your opinion that:
|
Anonymous |
Tue 21 Dec 2004 01:06:32 PM UTC, comment #3: To handle newlines correctly, use the action -print0 of find, like this:
|
Stepan Kasal <kasal> |
Tue 21 Dec 2004 12:01:17 PM UTC, comment #2: $ grep --exclude-dir .svn foo .
|
Anonymous |
Tue 16 Nov 2004 09:37:07 AM UTC, comment #1: I'm sorry, but I don't want to accept this.
|
Stepan Kasal <kasal> |
Mon 15 Nov 2004 09:06:36 PM UTC, original submission:
This patch adds --exclude-dir and --include-dir options, similar to the --exclude and --include options except that they operate on directories instead of files.
|
Eric Haszlakiewicz <erh> |
Depends on the following items: None found
Items that depend on this one: None found
There are 51 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-10-06 | arobert | Carbon-Copy | - | Added arobert | |
2006-02-10 | coppit | Carbon-Copy | - | Added coppit | |
2005-01-26 | kasal | Status | None | Wont Do | |
2004-11-16 | kasal | Open/Closed | Open | Closed | |
2004-11-15 | erh | Attached File | - | Added grep.diff, #3882 |
Powered by Savane 3.13-4448.
Corresponding source code
The latest release, grep-2.5.3, introduced the long awaited option- FTW.
--exclude-dir=PATTERN
directories that match PATTERN will be skipped.