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

Submitted by:  Lars Kotthoff <larsko>
Submitted on:  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

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
file #23776:  min-count.patch added by santiago (4KiB - text/x-diff - Patch updated)
file #16289:  grep-min-count-2.patch added by powercf (4KiB - text/x-patch - Added description of --min-count to --help output)
file #16177:  grep-min-count.patch added by larsko (3KiB - application/octet-stream - patch as described)


Depends on the following items: None found

Items that depend on this one: None found


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.




    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.5