What less popular text editors do you like or should have a shout out more often? What stuff do you do with it?

InternetCitizen2@lemmy.world to Linux@lemmy.ml – 130 points –
137

You are viewing a single comment

The original "ed" text editor, from 1969 Unix. Everyone should spend a few days trying to get some work done with it, if only to appreciate how we have nicer things now.

It is lovely on embedded devices. I sometimes bring it out for fun on my main PC instead of vim too haha

Another nice thing about ed is that it is sometimes easier to use than sed when you want to edit a file programmatically, since you can navigate lines at random (forward and backward directions), and you can still run regex find/replace like with sed. Just

printf 'i\nstring of ed commands\n.\n' | ed file-to-edit.txt

and pipe the commands into ed, although it is really an esoteric way to write scripts.