WeSearch

What does grep stand for, and the 75 year history of the regular expression

Mart Traagel· ·8 min read · 0 reactions · 0 comments · 24 views
#grep#regex#history
What does grep stand for, and the 75 year history of the regular expression
TL;DR · WeSearch summary

The article discusses the origins and history of the command 'grep', which stands for g/re/p, a command used in Unix for searching text. It traces back to Stephen Kleene's 1951 work on regular expressions and highlights Ken Thompson's implementation of this notation in the 1960s. The name 'grep' has persisted over the decades, reflecting its foundational role in text processing.

Key facts
Original article
Hacker News (Newest) · Mart Traagel
Read full at Hacker News (Newest) →
Opening excerpt (first ~120 words) tap to expand

← Blog·22 May 2026·Updated 23 May 2026·6 min readWhat does grep stand for, and the seventy-five-year history of the regular expressiongrep is short for g/re/p — the ed command syntax for global regular expression print. Regular expressions themselves go back to a 1951 RAND memo by Stephen Kleene. The thirty-year flavour war is a footnote to the original math.✦AI-assisted postDrafted with help from Claude, edited and fact-checked by Mart. See transparency policy →#regex#history#unixJoe Condon and Ken Thompson working on Belle, 1977 — picture courtesy of Bell Laboratories.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News (Newest).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments