News for hackers. Stuff that matters.
Re:GNU nano is my editor of choice (2021) by vbezhenar on Wednesday December 28, 2022 @10:00AM (#34161569)
ed is the only editor which works like every other console program on the system. Nano does not work like every other program on the system. Neither vi nor nano should be shipped in the base system.
Re:GNU nano is my editor of choice (2021) by rahen on Wednesday December 28, 2022 @11:03AM (#34162306)
This is the reason why ed was originally "the standard editor".

Of course, moving from teletypes to terminals made it quite irrelevant as we moved to ex/nvi, but ed still has its advantages. It only requires a kernel and a libc, forget even needing ncurses or termcap. It was running perfectly fine on an 11/40 running V6 on 250kB of memory, so it has stayed insanely resource efficient by today standards.

It's not even that bad once the verbose errors are activated (H), and it's still better than using sed or cat > << to recover a partition.