patches in general

der Mouse mouse at thunder.mcrcim.mcgill.edu
Sat May 25 22:34:21 AEST 1991


In article <1991May24.194915.29288 at rigel.econ.uga.edu>, glenn at rigel.econ.uga.edu (Glenn F. Leavell) writes:

> I ocassionaly see "patches" to various programs.  Here's a piece of
> one that I recently saw:

>> ***************
>> *** 7,10 ****
>>   sites wishing to support them and finding a feed.  In general, these
>> ! groups are not carried by the entire network due to their volume, a
>> ! restricted sphere of interest, or a different set of administrative
>>   rules and concerns.
>> --- 7,10 ----
>>   sites wishing to support them and finding a feed.  In general, these
>> ! groups are not carried by the entire network because of their volume,
>> ! restricted spheres of interest, or a different set of administrative
>>   rules and concerns.
>> ***************

> This doesn't look like standard diff stuff,

It's a so-called context diff: output from "diff -c".  In the
particular example you quoted, it's "diff -c1" - only one line of
context.

> so my question is, what package or utility is used to merge these
> changes with the original document?

Something called patch, available from fine archive sites everywhere.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse at larry.mcrcim.mcgill.edu



More information about the Comp.unix.questions mailing list