Comment

Comment by jacobvosmaer

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

http://sam.cat-v.org/

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton