patchgrep - Patches: patch #5051, Exclude Directories in Recursive...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5051: Exclude Directories in Recursive Grep

Submitter:  None
Submitted:  Wed 26 Apr 2006 12:20:28 AM UTC
   
 
Category:  None Priority:  4
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

Sat 19 Aug 2006 10:10:10 PM UTC, comment #2: 

Now --exclude-dir has been added, bug #11017 should probably be closed as "Wontdo".  And the resolution on patch #3521 could be changed to "Done", with maybe a short 'half of it' comment.

The man and info page text of --exclude-dir should be changed to follow that of --include, to make clear that DIR isn't a regular expression but a wildcard pattern.  So instead of "Exclude directories matching the pattern DIR from recursive searches", something like: "Exclude from recursive searches the directories whose base name matches DIR (using wildcard matching as described under  --exclude)".

The period at the end of --help description of --exclude-dir should be removed (grep.c line 1475), to match the other lines.

Benno Schulenberg <bens>
Fri 18 Aug 2006 10:00:15 PM UTC, comment #1: 

Very useful indeed -- committed.

Bernhard Rosenkraenzer <bero>
Group administrator
Wed 26 Apr 2006 12:20:28 AM UTC, original submission:  

This patch adds an --exclude-dir=PATTERN option to grep. Directories matching the pattern will be excluded from recursive directory searches.  This is especially useful when grep'ing thru a source tree managed by Subversion (grep -r --exclude-dir='.svn' term).



Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #9836:  exclude-dir-patch added by None (4KiB - application/octet-stream - exclude directory by pattern functionality)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 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 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-18 bero StatusNone Done
    Open/ClosedOpen Closed
2006-04-26 None Attached File- Added exclude-dir-patch, #9836

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code