This should be pretty simple, but I am not figuring it out. I have a large code base more than 4GB under Linux. A few header files and xml files are generated during build (usin
Use this. Because if find doesn't return a file, then grep will keep waiting for an input halting the script.
find
grep
find . -mtime 0 -type f | xargs grep "pattern"