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