In bash, how to list files that do NOT contain a given string?
Given that
grep --include=*.c -rlw './' -e "pattern"
return any file that matches the pattern I was expecting that
grep --include=*.c -rlwv './' -e "pattern"
would return any file that does not match the pattern but it just returns all the *.c
files regardless of wether they match the pattern.