When your tty settings are messed up, ed(1) has saved my butt a number
of times. Also really pleasant to use on slow modems where just the
screen refresh takes a long time.
ed foo.c
/^busted_function
.,.+20p
is dramatically faster than vi(1) at 300 baud.
On Thu, Jun 30, 2022 at 09:49:19PM +0100, Chris Pinnock via TUHS wrote:
> Editing /etc/inittab with ed(1).
>
> > On 30 Jun 2022, at 21:43, Robert Stanford via TUHS <tuhs@tuhs.org> wrote:
> >
> > editing /etc/inittab
> >
--
---
Larry McVoy Retired to fishing http://www.mcvoy.com/lm/boat