.
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.
There is a Go port of Sam, which is easy to install:
go install 9fans.net/go/cmd/sam@latest
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.
> 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.
No, that would be Teco, or, more “all we had were zeros”, ED on CP/M.ED is, well, miserable. It’s a character editor, vs a line editor, and you had the joys of paging in chunks of your file into working memory.
I, personally, find command line character editors especially difficult. I find it very hard to maintain my context and, of course, who doesn’t just love counting characters for commands.
ed is underrated.
(I'm responsible for suggesting GNU ed accept posix EREs; think I got the idea from NetBSD's version)
michaelsshaw•3h ago
https://www.gnu.org/fun/jokes/ed-msg.en.html