Cassel, David (22 de julio de 2018). «Brian Kernighan Remembers the Origins of ‘grep’»(html). The New Stack(en inglés). Archivado desde el original el 23 de julio de 2018. Consultado el 25 de julio de 2018. «ed let you specify regular expressions, which appeared between slashes, along with some operations (specified outside those slashes) to perform on the lines which matched. The operations were often indicated with a single letter, like ‘p’ for print or ‘a’ for append. And there was also a ‘g’ flag which stood for global and would perform a command not just on one line, but on every line of a file (that matched the specified regular expression). For example, that print command, “p”. And if you wrote out that command — with g for “global” and p for “print”, applying it to a regular expression between the slashes — it would look like this: g/re/p».
Cassel, David (22 de julio de 2018). «Brian Kernighan Remembers the Origins of ‘grep’»(html). The New Stack(en inglés). Archivado desde el original el 23 de julio de 2018. Consultado el 25 de julio de 2018. «ed let you specify regular expressions, which appeared between slashes, along with some operations (specified outside those slashes) to perform on the lines which matched. The operations were often indicated with a single letter, like ‘p’ for print or ‘a’ for append. And there was also a ‘g’ flag which stood for global and would perform a command not just on one line, but on every line of a file (that matched the specified regular expression). For example, that print command, “p”. And if you wrote out that command — with g for “global” and p for “print”, applying it to a regular expression between the slashes — it would look like this: g/re/p».