Path: utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!VAXB.STRATH.AC.UK!CNAR15 From: CNAR15@VAXB.STRATH.AC.UK Newsgroups: comp.os.vms Subject: A Means Of Converting A Dif. File To An Updated File Message-ID: <8712222219.AA29897@ucbvax.Berkeley.EDU> Date: 21 Dec 87 20:55:41 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 44 Hi I have obtained a lot of modifications to sources that have been broadcasted on the net. The majority of these modications have been published by means of a file created from the differences utility. I would like to take the original paragraph from the difference file and substitute the new paragraph in its place. Ideally I would like a program to take the original file, then take a "difference file" and produce the updated file that was used with the original file to produce the "difference file" in the first place. If this is not possible could you sugest a macro for EDT $or TPU that would select text in the normal way and then search for the first section of selected text and replace it with the second. Another point I would find of use is to be able to put a paragraph of text into the search buffer in screen mode and search for a paragraph. For instance use the "select key" then place the selected text in the search buffer. As far as I can see there is nothing of this kind in the orange books, and the only way is to write something in tpu. I realise that it would be faster mailing for the source code if it was only going to be used once, but as more and more difference files are posted on the net, it would be a useful program to have. Keywords: Edit, EDT, TPU, Search, Replace, Difference Yours Sincerly Andrew Kidd. ******************************************************************************** Andrew Kidd (Strathclyde University; Scotland; U.K.) Janet : cnar15@uk.ac.strath.vaxa (or) cnar15@uk.ac.strath.vaxb ([+Janet.000071000009] or [+Janet.000071000010]) Arpa : cnar15%uk.ac.strath.vaxa@ukacrl.bitnet (or) : cnar15%uk.ac.strath.vaxb@ukacrl.bitnet Bitnet/NetNorth/Earn: cnar15@vaxa.strath.ac.uk (or) cnar15%strath.vaxa@ac.uk (or) : cnar15@vaxb.strath.ac.uk (or) cnar15%strath.vaxb@ac.uk UUCP : cnar15%uk.ac.strath.vaxa@ukc (or) : cnar15%uk.ac.strath.vaxb@ukc ********************************************************************************