Skip to main content

Blog Archive for mikel during January 2005

A few days ago, I needed to write a program that was essentially a variant of the well-known UNIX diff. I had to find out which lines had been added and deted between two versions of a file--the trick (which made diff inapplicable) was that the order of the lines had been changed. Well, I'd been wanting an excuse to learn Ruby for some time, but the more I thought about it--I could write this...