in reply to Searching for duplication in legacy code
grep -r "sub " * grep -r "sub <sub name>" * [download]