[util] Add hb-diff
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 20 Sep 2011 15:20:53 +0000 (11:20 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 20 Sep 2011 15:20:53 +0000 (11:20 -0400)
commite700bce1189465a159a7c3c179f231be224f31cc
tree2250c9deb9a191960f8a87ea9a27f0aae7d49376
parent880c1f0e4ede65890592d28dfb38bb06f5b57500
[util] Add hb-diff

A diff program written in Python that is more suitable for comparing
hb-shape output from different backends.  Main differences with stock
diff:

1. It outputs one line's comparison at a time, as opposed to batching
'+' lines and '-' lines.

2. It colors the part of the line that changed, taking word boundaries
into consideration.

You can pipe the colored output to 'less -r'.
util/Makefile.am
util/hb-diff [new file with mode: 0755]