Grep is one of the most important tools for a shell user. When it comes to retrieving required data from a bulk of text, grep is your best bet. Its very flexible, powerful and as I came to know today, has an interesting story too.
It all started a long time ago. With the increasing popularity of regular expressions, the text editor “ed” included a functionality using which one can print the lines, in the currently edited file, which matches a regular expression.