generate arbitrary sequence diffs
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md
Makefile
README.md
compats.c
configure
diff.3
diff.c
diff.h
diffchars.c
diffwords.c
tests.c

README.md

Synopsis

libdiff is a C library generating the shortest edit script, longest common subsequence, and edit distance between arbitrary sequences of bytes. It derives from Tatsuhiko Kubo's onp and dtl.

To compile on any modern UNIX system, run ./configure, then make and make install.

The library (one function) is documented in its manpage.

Version snapshots are available at https://kristaps.bsd.lv/libdiff/snapshots.

License

All sources use the MIT license. See the LICENSE.md file for details.