patchgrep - Patches: patch #6588, Add --min-count NUM option to only...

 
 

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

patch #6588: Add --min-count NUM option to only display files with at least NUM matches

Submitter:  Lars Kotthoff <larsko>
Submitted:  Wed 23 Jul 2008 11:09:52 AM UTC
Votes: 100
 
Category:  None Priority:  5 - Normal
Status:  Ready For Test Privacy:  Public
Assigned to:  None Open/Closed:  Open

Discussion

Wed 23 Jul 2008 11:09:52 AM UTC, original submission:  

This patch adds the --min-count option to grep. This option allows to specify the number of matches a file must at least have to be displayed in conjunction with the --count option.

This option is useful for example when only the number of matches in a file is of interest, but a large number of files is grepped and the ones with no matches should be omitted.

Lars Kotthoff <larsko>

 

Attached Files

Attached Files
file #23776:  min-count.patch added by santiago (4.1KiB - text/x-diff - Patch updated)
file #16289:  grep-min-count-2.patch added by powercf (3.9KiB - text/x-patch - Added description of --min-count to --help output)
file #16177:  grep-min-count.patch added by larsko (3.5KiB - application/octet-stream - patch as described)

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by santiago (Updated the item)
  • -email is unavailable- added by bonzini (Updated the item)
  • -email is unavailable- added by powercf (Voted in favor of this item)
  • -email is unavailable- added by powercf (Updated the item)
  • -email is unavailable- added by larsko (Submitted the item)
  •  

    Votes

    There are 100 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.

     

    History

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-10 santiago Attached File- Added min-count.patch, #23776
    2011-07-14 bonzini StatusNone Ready For Test
    2008-08-12 powercf Carbon-Copy- Added powercf
    2008-08-12 powercf Attached File- Added grep-min-count-2.patch, #16289
    2008-07-23 larsko Attached File- Added grep-min-count.patch, #16177

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code