Where did the name grep come from?
The original UNIX text editor “ed” has a construct g/re/p, where “re” stands for a regular expression, to Globally search for matches to the Regular Expression and Print the lines containing them. This was so often used that it was packaged up into its own command, thus named “grep”. According to Dennis Ritchie (of K+R), this is the true origin of the command.