home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10359 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.2 KB

  1. Path: sparky!uunet!mcsun!uknet!axion!muppet!bugs!drs
  2. From: drs@muppet.bt.co.uk (Dave Smith)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: vi (cut and paste)
  5. Message-ID: <1992Aug25.115210.6873@muppet.bt.co.uk>
  6. Date: 25 Aug 92 11:52:10 GMT
  7. References: <1992Aug25.035349.6759@uxa.ecn.bgu.edu>
  8. Sender: news@muppet.bt.co.uk
  9. Reply-To: drs@muppet.bt.co.uk
  10. Organization: BTL
  11. Lines: 18
  12.  
  13. In article 6759@uxa.ecn.bgu.edu, mflll@uxa.ecn.bgu.edu (Dr. Laurence Leff) writes:
  14. >...
  15. >For example, you may have a procedure defined in file1 and you would
  16. >like to make use of it in a program contained in file2.
  17. >...
  18. >This will consist of starting file1 up with vi, copying the block
  19. >of text to a temporary file.  Then you will read the temporary file
  20. >into the appropriate location in file2.
  21. >
  22.  
  23. Hmm,,, why use the temp file? T'is easier using a named buffer as
  24. a holding place, and :e'ing to the second file
  25.  
  26.  
  27.  / Dave Smith          \/                                                \
  28. || drs@muppet.bt.co.uk || Quoth the Raven 'Nevermore'...                 ||
  29. || tel: +44 473 647694 || as if his soul in that one word he did outpour ||
  30.  \                     /\                                                /
  31.