At Fri, 28 Feb 2003 23:32:33 +1100, Matthias Oertli wrote:
> I'm looking for an app that compares two source (text) files, displays 
> them side by side and colorcodes the differences.
> Is there such a beast?

run (x)emacs, type M-x ediff (thats meta (usually left-windows or
left-alt) and the 'x' key).

to do side-by-side, press '|' on the little ediff control window that
will pop up. '?' will give help.

(basically, 'n' and 'p' will step forward or backward through the
 difference regions, 'q' will quit. 'w' will toggle making the window
 as wide as possible, which is good for side-by-side.

 pressing 'a' or 'b' will replace one region with the corresponding
 region from the other file. 'r a' or 'r b' will undo ("revert") such
 an action)


you can do merges, diffs, etc between files, buffers, arbitrary
regions, version-control revisions, etc.  ediff/emerge is good.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to