grep -r doesn't work on Solaris. You can only grep on files in the current directory.
A workaround is to use grep with find:
find ./ -type f -exec grep "foo" {} +
Posted by Kim Klotz to makandra dev (2011-10-10 15:42)
grep -r doesn't work on Solaris. You can only grep on files in the current directory.
A workaround is to use grep with find:
find ./ -type f -exec grep "foo" {} +