[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #7577] `grep -lc' to show only matching files

From: Santiago Ruano Rincón
Subject: [patch #7577] `grep -lc' to show only matching files
Date: Wed, 10 Aug 2011 19:17:37 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 Iceweasel/5.0

Follow-up Comment #4, patch #7577 (project grep):

Two people filled different bugs in debian asking for the same behavior from
grep -lc, and, with my user's hat put on, I found the combination of --count
and --files-with-matches clear. grep's man page doesn't say that those options
*only* print matching count *or* file' names, as grep --help tries to say. Man
page either says that those control output options cannot be used together
(Maybe it should?). 

However, in the name of standards, I'd prefer '-c --min-count' to achieve that
behavior. So I agree with you, and this patch shouldn't be considered.



Reply to this item at:


  Mensaje enviado vía/por Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]