I'm looking for an editor/viewer that can show two files side by side with differences. Any suggestions?
There seems to be one embedded in cervisia and I recall something called vdiff that was available on solaris a few years back.
John Lamb writes:
I'm looking for an editor/viewer that can show two files side by side with differences. Any suggestions?
There seems to be one embedded in cervisia and I recall something called vdiff that was available on solaris a few years back.
emacs has this. I've run Ediff on current emacs -- it is very nice.
From the emacs/ediff docs:
Ediff provides a convenient way for simultaneous browsing through the differences between a pair (or a triple) of files or buffers (which are called `variants' for our purposes). The files being compared, file-A, file-B, and file-C (if applicable) are shown in separate windows (side by side, one above the another, or in separate frames), and the differences are highlighted as you step through them. You can also copy difference regions from one buffer to another (and recover old differences if you change your mind).
Another powerful feature is the ability to merge a pair of files into a third buffer. Merging with an ancestor file is also supported. Furthermore, Ediff is equipped with directory-level capabilities that allow the user to conveniently launch browsing or merging sessions on groups of files in two (or three) different directories.
In addition, Ediff can apply a patch to a file and then let you step though both files, the patched and the original one, simultaneously, difference-by-difference. You can even apply a patch right out of a mail buffer, i.e., patches received by mail don't even have to be saved. Since Ediff lets you copy differences between variants, you can, in effect, apply patches selectively (i.e., you can copy a difference region from `file.orig' to `file', thereby undoing any particular patch that you don't like).
Ediff even understands multi-file patches and can apply them interactively! (Ediff can recognize multi-file patches only if they are in the context format or GNU unified format. All other patches are treated as 1-file patches. Ediff is [hopefully] using the same algorithm as `patch' to determine which files need to be patched.)
Quentin Fennessy wrote:
John Lamb writes:
I'm looking for an editor/viewer that can show two files side by side with differences. Any suggestions?
There seems to be one embedded in cervisia and I recall something called vdiff that was available on solaris a few years back.
emacs has this. I've run Ediff on current emacs -- it is very nice.
From the emacs/ediff docs:
Thanks: that's what I was looking for.
Hi,
* John Lamb J.D.Lamb@btinternet.com [2003-10-31 19:25]:
I'm looking for an editor/viewer that can show two files side by side with differences. Any suggestions?
xxdiff (viewer)
Thorsten
On Friday 31 October 2003 12:25, John Lamb wrote:
I'm looking for an editor/viewer that can show two files side by side with differences. Any suggestions?
<snip>
Here are some GUI-based viewers. All are included in SuSE 8.2 Pro...
Kompare: QT-based mgdiff: Motif-based tkdiff: Tk-based
For command line. Requires a little more learning... diff: compares 2 files diff3: compares 3 files
Regards, Jack A.
programming@lists.opensuse.org