Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!jarthur!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.sources.wanted Subject: Re: Another kind of diff output Keywords: weird diff software toy Message-ID: <7434@jpl-devvax.JPL.NASA.GOV> Date: 15 Mar 90 19:34:11 GMT References: <24897@ut-emx.UUCP> <2467@infinet.UUCP> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Distribution: usa Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 12 In article <2467@infinet.UUCP> sena@infinet.UUCP (Fred Sena) writes: : I have a weird request. Does anyone have a program which can compare two : files and produce as output one of the input files with the changes added and : highlighted. Diff just shows the changes between two files, without the : similar text. When I want to do this I use diff -Dsymbol. If that format doesn't appeal to you, then you can always filter it. If you don't have -D in diff, you could do a similar thing with a normal diff listing and "patch -D symbol". Larry Wall lwall@jpl-devvax.jpl.nasa.gov