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