▲ | My Ed(1) Toolbox(aartaka.me) | |||||||
66 points by mooreds 7 hours ago | 16 comments | ||||||||
▲ | shawn_w 5 hours ago | parent | next [-] | |||||||
I don't use ed interactively but find it's really useful in shell scripts that need to edit files - heredocs or piping printf output (like one example in the article; never felt a need for something like his xed). Even used it in a C program via popen() to edit settings in a config file. ed is underrated. (I'm responsible for suggesting GNU ed accept posix EREs; think I got the idea from NetBSD's version) | ||||||||
▲ | jonathaneunice 5 hours ago | parent | prev | next [-] | |||||||
When even “IDEs are complete overkill—just use vi” sounds like weakness and the entitlement of modern youth, seek out the ed fan pages! ed isn’t quite flipping binary toggle switches to load your program, but close enough to deliver the joy of brutal minimalism along with a nostalgic waft of yesteryear. | ||||||||
| ||||||||
▲ | zabzonk 6 hours ago | parent | prev | next [-] | |||||||
Ah, ed. Back in the mid 80s, I had to teach a course on Unix & its tools - if I remember correctly it was called "Unix - a modern OS". One of those tools was of course ed. We couldn't use vi because the termcap/terminfo settings were screwed up for the physical serial terminals we had - I eventually fixed this & felt very pleased with myself, as those terminal config files are a b*tch. Still, teaching bash, C and the usual suspects along with ed was very strenuous for the students, and for me - we only ran the course once. | ||||||||
▲ | Martin_Silenus 36 minutes ago | parent | prev | next [-] | |||||||
Forget it, you won't be able to be funnier than the 1991 TRUE PATH TO NIRVANA. This is unbeatable. | ||||||||
▲ | jacobvosmaer 6 hours ago | parent | prev | next [-] | |||||||
I like ed but I prefer 'sam -d' (the terminal mode of Sam). It has a nice looping construct 'x' and you can open multiple files and do batch edits (with 'X'). There is a Go port of Sam, which is easy to install: go install 9fans.net/go/cmd/sam@latest | ||||||||
| ||||||||
▲ | mkovach 6 hours ago | parent | prev | next [-] | |||||||
Funny thing about ed: While it is still one of my most common commands, it is also my dad's name. So, I've spent my entire career regularly typing my father's name at work. | ||||||||
▲ | praptak 6 hours ago | parent | prev | next [-] | |||||||
https://web.archive.org/web/20250924125053/https://aartaka.m... | ||||||||
▲ | pveierland 6 hours ago | parent | prev | next [-] | |||||||
Wild implementing Ed in Brainfuck: https://github.com/bf-enterprise-solutions/ed.bf/blob/master... | ||||||||
▲ | baudaux 3 hours ago | parent | prev | next [-] | |||||||
ed is the first program I put in exaequOS (https://exaequos.com), an OS fully running in the Web browser. For testing ed, you can open a terminal and type 'ed' | ||||||||
▲ | tniemi 6 hours ago | parent | prev | next [-] | |||||||
I used to use EDLIN on my MS/DOS days... . | ||||||||
| ||||||||
▲ | secwang 6 hours ago | parent | prev | next [-] | |||||||
Aaron have a crossplatform ed in Apl.This is great when you familiar with apl. | ||||||||
▲ | michaelsshaw 7 hours ago | parent | prev | next [-] | |||||||
ed is the standard text editor! | ||||||||
▲ | secwang 6 hours ago | parent | prev [-] | |||||||
love it. |