On Wed, Aug 16, 2000 at 10:49:31PM -0700, Jason Helfman wrote:
> If i were to make a perl script to ask me some questions, and store the
> information.. Would I be able to pass this to vi and send from mutt?

    If you mean while Vi is open, yes. 

:r!<command>

    will read in the output from <command>.

:2,10!<command>

    will pipe lines 2-10 inclusive to <command>, and replace them with the
output.

    Mike

-- 
Michael P. Soulier, 1Z22, SKY  Tel: 613-765-4699 (ESN: 39-54699)
Optical Networks, Nortel Networks, SDE Pegasus
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to UNIX
Nortel Linux User's Group Ottawa: (internal) http://nlug.ca.nortel.com:8080

Reply via email to