Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!kth!sunic!dkuug!dde!tpo From: tpo@dde.dk (Thomas Peter Sonne Olesen) Newsgroups: comp.sources.wanted Subject: Re^2: info on diff program producing "patch" useable output Keywords: diff patch context Message-ID: <604@Aragorn.dde.dk> Date: 1 Jul 89 07:42:53 GMT References: <340@satco.UUCP> <2909@helios.ee.lbl.gov> Organization: Dansk Data Elektronik A/S, Herlev, Denmark Lines: 28 envbvs@epb2.lbl.gov (Brian V. Smith) writes: >In article <340@satco.UUCP>, aaron@satco.UUCP (Aaron Pelton) writes: >< >< I'm looking for pd source to a diff program that will produce output that ><*if* you could mail it to me. I do not have ftp access. >< murky buckets. >Try "diff -c file1 file2" (yes, regular diff) >That is all that patch needs. >_____________________________________ >Brian V. Smith (bvsmith@lbl.gov) >Lawrence Berkeley Laboratory This is not alwayes true. It is correct that the option -c produce the context diff, known to patch, IIF the diff is a berkeley version of the diff. The standard SysV diff does not support option -c. But I know that a public domain version of diff, that does support -c has been posted to the net about an year ago. /Thomas -- ***************************************************************************** Thomas P.S. Olesen Dansk Data Elektronik A/S E-mail: ..!uunet!mcvax!dkuug!dde!tpo System Software Department or tpo@dde.dk