SyntaxFix
Write A Post
Hire A Developer
Questions
I had good luck with
grep -H -E -o -c "foo" */*/*.ext | grep ext:0
My attempts with grep -v just gave me all the lines without "foo".
grep -v