jrock08/UPEProgComp — pull request #18 by dpatti (2012-04-04 20:13:29+00:00)
Title: Compute diff using line-by-line comparison

I thought about this some, and I realized that diffs don't really work for this kind of thing. For example:

Expected output:
0
1
2

Given output:
1
2
3

At this point, the diff will look like:
-0
1 1
2 2
+ 3

When realistically, it would make more sense to have:
-0 1
-1 2
-2 3

This is also computationally much less intensive than a diff, since we're really just doing line-by-line comparisons after stripping whitespace.