[net.bugs.4bsd] Diff bug?

thomas@utah-gr.UUCP (Spencer W. Thomas) (07/22/83)

I have a pair of files (one derived from the other) which diff will not
handle correctly.  The symptom is that starting with the line
containing the first difference, diff reports all changes as
	n1,n2cn1,n2
(even though there have been insertions!)  Needless to say, this is a
pretty useless diff listing, since it tells me that almost every line in
the file has been changed.  With the original pair of files, diff -h
failed "Unable to resyncronize", when I moved a large insertion to the
end, diff -h succeeded, but diff still failed the same way.  Has
anybody seen this one before?  Do you have a fix?  (I think I must have
hit the "Jackpot" situation alluded to in the man page, except for the
absence of an error message.)

(This is 4.1bsd diff.)

=Spencer