Neil's News

+ 2010
+ 2009
+ 2008
+ 2007
- 2006
 Entropy
 About Work
 Cartography
 Unplugged
 Fledermaus
 Nickels and Dimes
 Voxel Sphere
 Moo Down
 Googled
 Night Vision
 Teamwork
 Carleton
 Design Patterns
 Table Sorter
 Course Correction
 MobWrite
 Instant Delete
 Beirut
 WbOsMuRtPtE
 Diff, Match & Patch
 Fuzzy Patch
 Fuzzy Match
 Diff Cleanup
 What's the Diff?
 Diff Accelerators
 Widget
 Lord of the Rings
 Makers
 Generic Icons
 Colour Picker
+ 2005
+ 2004
+ 2003
+ 2002

Fuzzy Patch

24 May 2006

Shakespeare wrote Hamlet in 1600. Languages change, so 400 years later he decides to update his copy to use modern English. He then runs a diff between his old copy and his new copy, thus generating a set of patches. Anyone can apply those patches to their old copy of Hamlet and instantly obtain the new version.

Except for people who have made their own modifications in the mean time. This is a problem. GNU's patch doesn't do a good job when the base documents don't match. So I wrote my own version.

Documentation. Source code.

Shakespeare's copy:

Old Version:
New Version:

Trekkie's copy:

Old Version:
New Version:

< Previous | Next >

 
-------------------------------------