Ken Thompson wrote UNIX as a document processor, and the command grep (from the initial letters of global(ly) search regular expression print) was his search engine. Thanks to James Harp for pointing out origin of this command's name.