bug in public domain diff?

Karl Fox karl at mstar.UUCP
Tue Jan 24 06:01:05 AEST 1989


Well, I *too* have also written a pd diff that *also* gives the same
output as the 'real' diff on these two files.  It uses a different (and
much faster) algorithm, one described by Webb Miller and Gene Myers in
"A File Comparison Program", _Software - Practice and Experience_,
November 1985 (with permission of the author, even).  This is the same
basic algorithm used by GNU diff, except that mine doesn't have the
fancy all-different-line-removal stuff that GNU diff does (which speeds
it up a lot on very different files), nor does it have the stuff that
massages the results to "look better" but make it also different from
regular diff.

Mine supports the -e, -f, -b, -h, -s, -r, -l, -S, -D and -c options,
which I think is the same as BSD diff.  I wrote it because the old diff
was eating up our machine when we used SCCS on very large files.  It
used to be, "type delta and go to lunch"; now it never takes more than
several seconds.

Maybe we should assign a central Diff Naming Authority to hand out
names like ndiff, gdiff, diff1, diff2, or maybe we should all post at
once.  Let the customer choose, just like "Sun Memory at Bargain Prices".
-- 
Karl Fox, Morning Star Technologies
UUCP:     osu-cis!mstar!karl -or- pyramid!mstar!karl -or- sequent!mstar!karl
Internet: osu-cis!mstar!karl at tut.cis.ohio-state.edu



More information about the Comp.sources.bugs mailing list