[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: |
Paolo Bonzini |
Subject: |
[patch #7577] `grep -lc' to show only matching files |
Date: |
Thu, 14 Jul 2011 09:05:07 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 |
Update of patch #7577 (project grep):
Status: None => In Progress
_______________________________________________________
Follow-up Comment #2:
I don't understand what you mean by "garbled output from both options". "grep
-lc" here gives exactly the same output as "grep -l". I understand why the
patch is nice to have, but personally I would never have thought of specifying
them together. :)
Also the help shows they are contradicting:
-l, --files-with-matches *only* print FILE names containing matches
-c, --count *only* print a count of matching lines per FILE
(emphasis on "only" added). Right now, my acceptance of the patch is
conditioned on tweaking the help text or documentation to make the expected
behavior clear.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?7577>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/