podcasts / Ryan Peterman / episode / question
Question

Where does the name grep come from, as Brian Kernighan explains it?

Answered from Brian Kernighan: Inside Bell Labs, The Best Programmer, Why C Won · Ryan Peterman · 2026-10-26

Brian Kernighan explained that grep comes from the ed text editor, the first real editor on Unix. In ed, the g command runs another command on every line matching a regular expression, and the form g/re/p prints all lines that match the pattern. The name grep is simply that command sequence. Kernighan credited Ken Thompson with telling the story best.

Source: our own transcription of the episode. The full conversation is on Ryan Peterman (2026-10-26). Read the whole episode summary →

▸More from this episode

Q1Why did Bell Labs produce so many inventions, according to Brian Kernighan?Q2How did Bell Labs evaluate its researchers, as Brian Kernighan describes it?Q3Why does Brian Kernighan think the C programming language succeeded?Q4How was awk created, according to Brian Kernighan?Q6What happened when Brian Kernighan demoed Unix to CIA director William Colby?Q7What does Brian Kernighan think LLMs are doing to computer science education?Q8Does Brian Kernighan trust AI-generated code like SQL from Claude?
Transcribe your links. Paste a YouTube, Google Drive or podcast link and WhipScribe gives you the transcript. Transcribe a link →