From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnold@skeeve.com Message-Id: <201812311226.wBVCQtaH013032@freefriends.org> Date: Mon, 31 Dec 2018 05:26:55 -0700 To: 9fans@9fans.net References: <490F1740-354F-4024-827C-C42546EFCB53@quintile.net> <1546027063.3363591.1620186352.30A6F2B1@webmail.messagingengine.com> <2ECCC142-F918-466E-8766-FB9766F82FDC@quintile.net> <87f63dfc-0221-4dc3-a37d-47dfe9be9e63@www.fastmail.com> <201812310658.wBV6wKop001977@freefriends.org> <20181231080019.GA399@wopr> <201812310949.wBV9npQm008315@freefriends.org> <97f77b6c-1404-4bce-8266-be69084edab8@www.fastmail.com> In-Reply-To: <97f77b6c-1404-4bce-8266-be69084edab8@www.fastmail.com> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [9fans] sources down Topicbox-Message-UUID: f1b143f0-ead9-11e9-9d60-3106f5b1d025 "David du Colombier" <0intro@gmail.com> wrote: > > Let me restate the question. When one has only the "new" file and > > the ed script that created it from the "old" one, and said script > > says "delete lines N through M", how does one recover the lines > > that were deleted? (With context or unified diffs, the deleted text > > is there.) > > I don't think you can "reverse" the ed scripts produced with "diff -e", > unlike unified diff files. > > However, in 9hist, the files are always reconstructed forward, > starting from the complete original file. OK, then it makes sense then. Much thanks! Arnold