bug in public domain diff?

Alan Fargusson @ peace with the world alanf%smile at Sun.COM
Thu Jan 26 10:26:53 AEST 1989


In article <1133 at naucse.UUCP>, jdc at naucse.UUCP (John Campbell) writes:
> 
> What we need to know is how "compatible" the various public domain diffs
> are.  Can GNU diff be used with RCS, for instance?  I find the public
> domain diff works well enough (diff -cb) for Larry Wall's patch program,
> but I've heard complaints that there are command options used by RCS that
> don't exist in the public domain version.
> 
> Can anyone summarize the compatibility questions or point to a diff that
> RCS can use (public of course).
> -- 
> 	John Campbell               ...!arizona!naucse!jdc
>                                     CAMPBELL at NAUVAX.bitnet
> 	unix?  Sure send me a dozen, all different colors.

GNU diff looks to be exactly compatible with UNIX diff.  My diff program is
not and I intended it that way.  I do intend to add an output format that does
look like UNIX for Larry Wall's patch program.

The biggest advantage of my diff is that it easy to add output options.
Currently it outputs a human readable format,  a edlin compatible format
(for MS-DOS), and a format for the CP/V editor (you don't want to know).
I guess it is an advantage that mine works on UNIX, MS-DOS (MSC 4.0), and
CP/V with no special care (not even one #ifdef).
- - - - - - - - - - - - - - - - - - - - -
Alan Fargusson		Sun Microsystems
alanf at sun.com		..!sun!alanf



More information about the Comp.sources.bugs mailing list