Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!cincom.umd.EDU!todd From: todd@cincom.umd.EDU ("TODD AVEN") Newsgroups: comp.os.vms Subject: Suggested usage of DIFFERENCE for network software updates... Message-ID: <8801220209.AA16725@ucbvax.Berkeley.EDU> Date: 20 Jan 88 19:40:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: "TODD AVEN" Organization: The ARPA Internet Lines: 37 One of the lesser-known qualifiers for the DIFFERENCE utility is /SLP. The output of DIFF/SLP is a file of SUM/SLP commands and data, which can then be fed directly into EDIT/SUM using the /INPUT qualifier (I _think_ that's the right one). No special editing scripts or manual hacks are required. Many of us post software and/or updates, and of those many use DIFF to reduce network traffic. If we can get in the habit of posting SUM/SLP difference command files instead of plain-text differences, we all stand to gain by reducing human CPU-time as well. (Now for the Devil's Advocate...) While DIFF/SLP produces an SLP command file which requires nothing more complicated than the invocation of that editor, the difference file does not contain as much information as the ordinary difference output. In particular, SLP supports very basic operations: insert line(s) here, delete line(s) here, and replace line(s) here. Because of the nature of SLP commands, I see no real mechanism for maintaining synchronization during the edit. By that I mean that if the appropriate SLP action was to delete lines 20-23 and someone had edited the original file by adding a line before line 20, some of the wrong lines would be deleted. Everything is tied to a line's position in the file, so the user must guarantee that he is updating the correct file. Any comments/workarounds? Oh, yeah... The qualifier is /UPDATE= now that I think about it. Please, if you *must* take me to task for being wrong about something here, be gentle -- I'm speaking off the top of my head (which seems to be located, along with the rest of me, on top o a soap box at the moment :-). Todd Aven the Software Sweatshop bitnet: TODD@UMCINCOM internet: todd@cincom.umd.edu ------