hs0ucy Aller au menu de navigation

Grep from Ed

I didn’t know that!

«The familiar Unix utility grep is derived from the following global command in ed g/re/p which stands for “global regular expression print.” Grep is a line-editing command that has been extracted from ed and made available as an external program.»

— By Dale Dougherty, Arnold Robbins, in sed & awk, 2nd Edition