Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!motcsd!hpda!hpcupt1!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.text Subject: Re: Change bars in *roff Message-ID: <2610030@hpsal2.HP.COM> Date: 19 Sep 89 17:44:01 GMT References: <9262@blia.BLI.COM> Organization: HP System Architecture Lab, Cupertino Lines: 18 / hpsal2:comp.text / yost@esquire.UUCP (David A. Yost) / 12:42 pm Sep 18, 1989 / In article <888@paperboy.OSF.ORG> flowers@osf.org (Ken Flowers) writes: >UNIX has a very simple tool for doing this that is >available on most machines: > > diffmk old.file new.file chbar.file Beware diffmk. 1. It runs ed, and ed (still) has some annoying hard limits that you can exceed, causing bizarre results. ---------- One other thing to watch out for because diffmk uses ed. Any line in the troff input which consists only of a "." (not uncommon in troff files), might confuse the output since a period is also used by ed to signify the end of a changed or appended section. Michael Morrell