I can't take it any longer. Every time I use -c I get spewed in the face
with irrelevant 0 match files,
$ find News/ -type f -print0|xargs -0 grep -c transgender|wc
    691     861   29102
$ find News/ -type f -print0|xargs -0 grep -c transgender|sed /:0$/d|wc
      9      13     228
Please add some other or additional option to give "like -c, but don't
bother me about 0 match files."

> Just remember to add "sed '/:0$/d'"

Unreasonable. Also the spirit of grep is to show matches, not non-matches.


Reply via email to