299
Too much Bloat (piefed.cdn.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] wewbull@feddit.uk 5 points 3 days ago

Yes ed begat sed, but sed works differently. It didn't replace ed. It did a different job.

Ed loads the file into a buffer which you edit in a random access fashion and then save. Sed collects a list of commands and then streams the file line by line, executing the commands as they match lines. In your example nothing happens until you've entered the whole editing script.

this post was submitted on 25 Nov 2025
299 points (96.9% liked)

Programmer Humor

27534 readers
255 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS