From mboxrd@z Thu Jan 1 00:00:00 1970 User-Agent: Cyrus-JMAP/3.1.5-720-g0530acb-fmstable-20181230v1 Message-Id: <97f77b6c-1404-4bce-8266-be69084edab8@www.fastmail.com> In-Reply-To: <201812310949.wBV9npQm008315@freefriends.org> 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> Date: Mon, 31 Dec 2018 06:11:58 -0500 From: "David du Colombier" <0intro@gmail.com> To: 9fans@9fans.net Content-Type: text/plain Subject: Re: [9fans] sources down Topicbox-Message-UUID: f1ad13f2-ead9-11e9-9d60-3106f5b1d025 > 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. -- David du Colombier