My Ed(1) Toolbox
11–20 of 28 posts
Re: My Ed(1) Toolbox
#12Re: My Ed(1) Toolbox
#13ed 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.
Re: My Ed(1) Toolbox
#14When 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.
> 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.
Re: My Ed(1) Toolbox
#15ed is underrated.
(I'm responsible for suggesting GNU ed accept posix EREs; think I got the idea from NetBSD's version)
Re: My Ed(1) Toolbox
#16Re: My Ed(1) Toolbox
#17I 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 http://sam.cat-v.org/
https://doc.cat-v.org/bell_labs/sam_lang_tutorial/sam_tut.pd...
Also interesting, with other derivates of ed -- LineEditorFamily in the TextEditors Wiki: https://texteditors.org/cgi-bin/wiki.pl?LineEditorFamily
Re: My Ed(1) Toolbox
#18I used to use EDLIN on my MS/DOS days... .
Re: My Ed(1) Toolbox
#19Re: My Ed(1) Toolbox
#20Edit - I suppose that shouldn't have been surprising:
w
q