The history of the origin of grep command

view story

http://linuxers.org – TweetGrep 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. The command syntax is like this: g/reg-ex/p which means “global regular expression print”. This feat (General)