some useful bash functions for grep and cd

croot - cd to source root
godir - cd to directory of file
mgrep - exclusively grep through makefiles
jgrep - exclusively grep through java classes
cgrep - exclusively grep through C/C++ classes/headers
resgrep - exclusively grep through resource (xml) files