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


You are not allowed to post comments on this tracker with your current authentification 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: NonePriority: 5 - Normal
Status: Ready For TestPrivacy: Public
Assigned to: NoneOpen/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 (4kB - text/x-diff - Patch updated)
file #16289:  grep-min-count-2.patch added by powercf (4kB - text/x-patch - Added description of --min-count to --help output)
file #16177:  grep-min-count.patch added by larsko (3kB - application/octet-stream - patch as described)


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 10 Aug 2011 08:45:27 PM UTCsantiagoAttached File-=>Added min-count.patch, #23776
    Thu 14 Jul 2011 09:08:41 AM UTCbonziniStatusNone=>Ready For Test
    Tue 12 Aug 2008 07:39:54 PM UTCpowercfCarbon-Copy-=>Added powercf
    Tue 12 Aug 2008 07:39:23 PM UTCpowercfAttached File-=>Added grep-min-count-2.patch, #16289
    Wed 23 Jul 2008 11:09:52 AM UTClarskoAttached File-=>Added grep-min-count.patch, #16177

    Back to the top

    Powered by Savane 3.1-cleanup