The file nqthmdiff.doc explains the utility nqthmdiff defined in nqthmdiff.c. Briefly, this is just like the Unix program diff, except that it's smart enough to ignore differences in time triples (those numbers printed at the end of each event).