when I am specifing multiple pattern with Grep -c option. It does not produce right results. It's displaying all the files.
grep -c "<source><?source>|<target></target>" *.xml
Can some body tell me how to get the files in a directory which is "not meeting patterns"
E.g. I have to get all the files which don't have "<source><?source>" and "<target></target>"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.