Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.sources.wanted Subject: Re: Patch - context diffs Message-ID: <2820@auspex.auspex.com> Date: 16 Jan 90 17:29:41 GMT References: <902@imec.UUCP> Organization: Auspex Systems, Santa Clara Lines: 18 >] I am also looking for a way to generate these "context diffs" >] to be fed into the famous PATCH program. > >Look at the diff(1) manpage. In which case you may not find any "-c" flag mentioned, if you're not running a system whose "diff" has that option. Not all systems do. If your "diff" doesn't, there are a number of alternatives: 1) get GNU "diff", which I think has "-c"; 2) get a program that I think exists somewhere in some source archive, which acts as a "front end" to a "diff" without "-c" and produces context "diff" output; 3) if you have 4.xBSD source handy, build its "diff" for your system.