←back to thread

Microsoft Edit

(github.com)
486 points ethanpil | 3 comments | | HN request time: 3.519s | source
1. red_admiral ◴[] No.44374922[source]
Now I'm waiting for EDLIN but with unicode.

I remember you could use it in a batch file to script some kinds of editing by piping the keypresses in from stdin. Sort of a replacement for a subset of sed or awk.

I haven't tried but this should be possible with vi too. Whether that is deeply cursed is another question.

replies(1): >>44374945 #
2. gnubison ◴[] No.44374945[source]
I think ed is what you’re looking for (possibly with -s).
replies(1): >>44381817 #
3. JdeBP ◴[] No.44381817[source]
Ironically, given the mention of vi, it is ex that is what red_admiral is looking for. (-: