XDIFF(1L) XDIFF(1L)
HP-UX HP-UX
NAME
xdiff - context diff under X windows
SYNOPSIS
xdiff [ -bvt ] [ -c context ] file1 file2
DESCRIPTION
xdiff is a modified version of cdiff and can display context diffs
either on a terminal or under X windows. xdiff produces output
similar to the output produced by the 4.3BSD -c option of diff but
displays the differences of the two files side by side. xdiff calls
diff (1) to generate the raw difference between the two files.
OPTIONS
-b Similar to the -b option in diff (1).
-t Terminal mode. Display the output on stdout instead of the X
display. (Similar to cdiff).
-v Print the version and patchlevel and exit.
-c context
Use "context" lines of context instead of the default three.
RESOURCES
Under X windows the following resources can be used. Additional
resources can be found in /usr/lib/X11/app-defaults/XDiff, or one can
use resources specified by XmText(3X).
#Geometry
xdiff*geometry: 1100x767
#Type "q" over any text to quit xdiff
xdiff*XmText.translations: <Key>q: activate()
#Text font
xdiff*text.fontList:
AUTHORS
Larry Wall, for the original cdiff.
Konstantinos Konstantinides, for the X Window display portion.
FILES
/bin/sh is used to locate a diff executable.
SEE ALSO
diff(1)
- 1 - Formatted: June 9, 2026