Scroll to navigation

SDIFF(1) User Commands SDIFF(1)

NAME

sdiff - side-by-side merge of file differences

SYNOPSIS

sdiff [OPTION]... FILE1 FILE2

DESCRIPTION

Side-by-side merge of file differences.

Operate interactively, sending output to FILE.
Consider upper- and lower-case to be the same.
Ignore changes due to tab expansion.
Ignore changes in the amount of white space.
Ignore all white space.
Ignore changes whose lines are all blank.
Ignore changes whose lines all match RE.
Strip trailing carriage return on input.
Treat all files as text.
Output at most NUM (default 130) columns per line.
Output only the left column of common lines.
Do not output common lines.
Expand tabs to spaces in output.
Try hard to find a smaller set of changes.
Assume large files and many scattered small changes.
Use PROGRAM to compare files.
Output version info.
Output this help.

If a FILE is `-', read standard input.

AUTHOR

Written by Thomas Lord.

REPORTING BUGS

Report bugs to <bug-gnu-utils@gnu.org>.

COPYRIGHT

Copyright © 2002 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.

SEE ALSO

The full documentation for sdiff is maintained as a Texinfo manual. If the info and sdiff programs are properly installed at your site, the command

info diff

should give you access to the complete manual.

November 2010 diffutils 2.8.1