Kompare

Kompare is a free program that helps the user to compare two text files or directories with each other. It is a part of the K Desktop Environment (KDE ) and is mainly used on Linux and other Unix-like operating systems. Kompare diff used for the calculation of the differences. diff is a command line program and returns the differences in text form from.

Comparing text files

As the picture above shows, Kompare tried the two text files next to each other to represent that the matching lines always next to each other can be displayed depending on the position of the scroll bar. Rows which are distinguished from each other, the two documents highlighted in both views. Three different colors / display options are used:

  • Exists in the first file, but not in the second ( ie the highlighted passage from the first file was deleted); or
  • Exists in the second file, but not in the first (ie, added to the second file ); or
  • Exists in both files, but with differences (that has changed since the first file was created )

Comparing Directories

If two directories instead of two text files to be compared, Kompare displays a directory tree for the two selected directories.

Creating and Applying Patches

Kompare can create patch files, which list only the differences between two text files A and B. Furthermore, it can Kompare a patch file that was created in this way, to apply to a file A, in this way, the contents of file B is restored to file A. This is a convenient way to turn an old version of a file has a newer / improved version, since only the actual changes ( the patch file ) must be applied. With this system patches are for Unix -like operating systems recorded when programs compiled from the source code and have not been installed via a package management system.

The patches were created by Kompare are compatible patch files that were created with the diff command line program because Kompare diff mainly a graphical front-end for command line programs and patch.

Supplementary programs

Meld and KDiff3 allow the visualization of differences as Kompare, in addition, the user is also possible to merge files together and edit details of the text. Kompare its part has not been programmed for editing or combining texts.

483468
de