# compare-windows(2)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

compare-windows - Compare buffer windows, ignore whitespace.
compare-windows-exact - Compare buffer windows, with whitespace.

## SYNOPSIS

n compare-windows
compare-windows-exact

## DESCRIPTION

compare-windows compares the textural content of ALL the current windows from their current cursor position. These commands are generally used to locate the next difference in the windows displayed. Returns `TRUE` if the buffers of the windows do not differ from the current position to the end of the file (inclusive), else returns `FALSE` setting the cursor of each buffer to the first point of difference.

The default mode of operation ignores white-space, a numeric argument n of zero (0) then an exact white-space match is performed.

compare-windows-exact is a macro short cut for 0 compare-windows, forcing a white space comparison.

## SEE ALSO

diff(3), diff-changes(3), gdiff(3).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>