Peteris Krumins personal blog

A proof that Unix utility sed is Turing complete

Many people are surprised to learn that `sed`, a seemingly simple text filtering program, is actually Turing complete. This realization prompts the question: how can a text processing utility achieve such computational power? The answer lies in sed's fundamental operations. Essentially, sed functions as a miniature...
Points
202
HN comments
106
Submissions
1
Cited by
5 commenters

Software EngineeringMath & Algorithms2019

On Hacker News

SubmittedTitle on HNPointsComments
Feb 13, 2019A proof that Unix utility sed is Turing complete by CrankyBear202106

Cited in comments

Linked from 5 Hacker News comments by 5 different people, from Feb 2019 to Mar 2026.

Most recent:

Search every comment that links here →

More from Peteris Krumins

All 57 posts →

Related posts from the same era