Hi Arnold,
I've idly
considered an ed that also maintained a cursor within the
line that could be used with vi-like commands.
you want an ed with a cursor, you need only take GNU ed and hook it up
with GNU readline, and there you go.
That would allow me to edit the command I'm entering, e.g. `,n'. What
I'm suggesting is the command I'm entering can manipulate the in-line
cursor when I press Enter to submit the command. I don't want
interactive editing of lines in the file; I know where to find that.
:-)
If GNU ed doesn't already have such support.
ed 1.14.2-1 here hasn't. And I wouldn't expect its dependencies to
grow.
$ ldd /bin/ed
linux-vdso.so.1 (0x00007fff215d4000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fd89767a000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
(0x00007fd897a31000)
$
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy