1SDIFF(1) User Commands SDIFF(1)
2
3
4
6 sdiff - side-by-side merge of file differences
7
9 sdiff [OPTION]... FILE1 FILE2
10
12 Side-by-side merge of differences between FILE1 and FILE2.
13
14 Mandatory arguments to long options are mandatory for short options
15 too.
16
17 -o, --output=FILE
18 operate interactively, sending output to FILE
19
20 -i, --ignore-case
21 consider upper- and lower-case to be the same
22
23 -E, --ignore-tab-expansion
24 ignore changes due to tab expansion
25
26 -Z, --ignore-trailing-space
27 ignore white space at line end
28
29 -b, --ignore-space-change
30 ignore changes in the amount of white space
31
32 -W, --ignore-all-space
33 ignore all white space
34
35 -B, --ignore-blank-lines
36 ignore changes whose lines are all blank
37
38 -I, --ignore-matching-lines=RE
39 ignore changes all whose lines match RE
40
41 --strip-trailing-cr
42 strip trailing carriage return on input
43
44 -a, --text
45 treat all files as text
46
47 -w, --width=NUM
48 output at most NUM (default 130) print columns
49
50 -l, --left-column
51 output only the left column of common lines
52
53 -s, --suppress-common-lines
54 do not output common lines
55
56 -t, --expand-tabs
57 expand tabs to spaces in output
58
59 --tabsize=NUM
60 tab stops at every NUM (default 8) print columns
61
62 -d, --minimal
63 try hard to find a smaller set of changes
64
65 -H, --speed-large-files
66 assume large files, many scattered small changes
67
68 --diff-program=PROGRAM
69 use PROGRAM to compare files
70
71 --help display this help and exit
72
73 -v, --version
74 output version information and exit
75
76 If a FILE is '-', read standard input. Exit status is 0 if inputs are
77 the same, 1 if different, 2 if trouble.
78
80 Written by Thomas Lord.
81
83 Report bugs to: bug-diffutils@gnu.org
84 GNU diffutils home page: <https://www.gnu.org/software/diffutils/>
85 General help using GNU software: <https://www.gnu.org/gethelp/>
86
88 Copyright © 2021 Free Software Foundation, Inc. License GPLv3+: GNU
89 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
90 This is free software: you are free to change and redistribute it.
91 There is NO WARRANTY, to the extent permitted by law.
92
94 cmp(1), diff(1), diff3(1)
95
96 The full documentation for sdiff is maintained as a Texinfo manual. If
97 the info and sdiff programs are properly installed at your site, the
98 command
99
100 info sdiff
101
102 should give you access to the complete manual.
103
104
105
106diffutils 3.8 August 2021 SDIFF(1)