1 .\" $FreeBSD: src/gnu/usr.bin/sdiff/sdiff.1,v 1.1.16.1 2003/02/23 18:02:27 keramida Exp $
2 .\" $DragonFly: src/gnu/usr.bin/sdiff/Attic/sdiff.1,v 1.2 2003/06/17 04:25:48 dillon Exp $
4 .TH SDIFF 1 "22sep1993" "GNU Tools" "GNU Tools"
6 sdiff \- find differences between two files and merge interactively
10 outfile [options] from-file to-file
14 command merges two files and interactively outputs the
26 whose file name is that of
47 argument by itself treats the remaining arguments as file names even if
60 side-by-side difference. This usage is obsolete; use
61 .B "diff \-\-side\-by\-side"
64 Below is a summary of all of the options that GNU
67 Each option has two equivalent names, one of which is a single
70 and the other of which is a long name
73 Multiple single letter options (unless they take
74 an argument) can be combined into a single command line argument. Long
75 named options can be abbreviated to any unique prefix of their name.
78 Treat all files as text and compare them line-by-line, even if they
79 do not appear to be text.
82 Ignore changes in amount of white space.
85 Ignore changes that just insert or delete blank lines.
88 Change the algorithm to perhaps find a smaller set of changes. This
91 slower (sometimes much slower).
94 Use heuristics to speed handling of large files that have numerous
95 scattered small changes.
98 Expand tabs to spaces in the output, to preserve the alignment of tabs
102 Ignore changes in case; consider upper- and lower-case to be the same.
105 Ignore changes that just insert or delete lines that match
108 .B \-\-ignore\-all\-space
109 Ignore white space when comparing lines.
111 .B \-\-ignore\-blank\-lines
112 Ignore changes that just insert or delete blank lines.
115 Ignore changes in case; consider upper- and lower-case to be the same.
117 .BI \-\-ignore\-matching\-lines= regexp
118 Ignore changes that just insert or delete lines that match
121 .B \-\-ignore\-space\-change
122 Ignore changes in amount of white space.
129 Print only the left column of two common lines.
132 Change the algorithm to perhaps find a smaller set of changes. This
135 slower (sometimes much slower).
142 Put merged output into
144 This option is required for merging.
150 .B \-\-suppress\-common\-lines
151 Do not print common lines.
153 .B \-\-speed\-large\-files
154 Use heuristics to speed handling of large files that have numerous
155 scattered small changes.
158 Expand tabs to spaces in the output, to preserve the alignment of tabs
162 Treat all files as text and compare them line-by-line, even if they
163 do not appear to be text.
170 Output the version number of
177 .BI \-\-width= columns
178 Use an output width of
180 Note that for historical reasons, this option is
189 Ignore horizontal white space when comparing lines.
190 Note that for historical reasons, this option is
198 cmp(1), comm(1), diff(1), diff3(1).
205 An exit status of 0 means no differences were found, 1 means some
206 differences were found, and 2 means trouble.