According to John P. Looney:
>> One problem with this...the ':r!' works fine, if it's a new line.
> However, it always reads into the line below, at the start of the line. Is
> there a way to read in a command output (or file) halfway through a line,
> at the cursor ?
Not as I understand the semantics of the read command, but you could try
putting a 'j' (or is it 'J'?) at the end of the macro to make it join up
the lines.
Cheers,
Waider.
--
waider at dspsrv.com / Chances are I'm not at home right now.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!