Vi will allow you to execute a command and read in the output of the command, you
can use this with sed to read in the lines, in this example, sed will print lines
3,4,5,6, from the sourcefile and add them to your vi buffer.
Quote:
:r! sed --quiet "3,6 p" sourcefile
|