DOKK / manpages / debian 10 / kompare / kompare.1.en
KOMPARE(1) General Commands Manual KOMPARE(1)

kompare - a KDE GUI for viewing differences between files

kompare [ generic-options ]
kompare [ generic-options ] [ -c ] URL1 URL2
kompare [ generic-options ] [ -o [ -n ]] diff
kompare [ generic-options ] -b URL diff

Kompare is a graphical user interface for viewing the differences between two files. It will also optionally create a diff file.

Depending upon what is passed on the command line, Kompare can compare documents, display diff files and blend diff files back into original documents.

If an url is given as - then Kompare will read the corresponding file from standard input. Thus (for instance) Kompare can be used as:

cvs diff | kompare -o -

This utility is part of the KDE Software Development Kit.

Below are the kompare-specific options. For a full summary of options, run kompare --help.

Blends diff into URL. diff is expected to be diff output and URL the file or folder that the diff output needs to be blended into.
Compares URL1 with URL2. This is the default mode if two URLs are passed.
Used with -o to stop Kompare from checking for the original file.
Opens the given diff file. This is the default mode if only one URL is passed.
Kompare will check to see if it can find the original file(s). If it can, it will blend the original file(s) into the diff output and show the result in the viewer. Passing -n will disable this check.

The original documentation from the program author is available in /usr/share/doc/kompare/.

Kompare was written by John Firebaugh <>, Otto Bruggeman <> and others.
This manual page was prepared by Ben Burton <> for the Debian GNU/Linux system (but may be used by others).

March 25, 2005