http://www.perlmonks.org?node_id=1078813


in reply to how to search for a string in large file?

 grep <string> <filename> | wc -l


*My* tenacity goes to eleven...