Friday, March 28th, 2003 @ 12:57 am | Programming

Part of the reason for my 7 days absence is simply because I’ve been exhausted when I’ve gotten home from work. I haven’t been completely lazy, though — I did write some Perl code.

bbdiff command.

I wrote this because I’ve been generating a number of binary files and needed a quick way to check for differences in the files. Of the file comparison programs I’ve used, I like BBEdit’s Find Differences command the best. However, the process of creating hex dumps and comparing the files was taking at least a dozen mouse clicks, so I decided there must be a better way. I was already using John’s script, so I decided to use it as the basis for my own solution.

Like the original bbdiff, bbhexdiff assumes your copy of BBEdit is named, appropriately enough, “BBEdit” — not “BBEdit 7.0” or “My BBEdit” (don’t laugh, I’ve seen stranger). If this isn’t the case on your computer, you can either edit the script or rename your copy of BBEdit.

Check out the bbhexdiff project page for more information.

Comments are closed.