man-pages/man1/sdiff.1.html
2021-03-31 01:06:50 +01:00

139 lines
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GNU</TITLE>
</HEAD><BODY>
<H1>GNU</H1>
Section: User Commands (1)<BR>Updated: December 2018<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
GNU sdiff - side-by-side merge of file differences
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>sdiff</B>
[<I>OPTION</I>]... <I>FILE1 FILE2</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Side-by-side merge of differences between FILE1 and FILE2.
<P>
Mandatory arguments to long options are mandatory for short options too.
<DL COMPACT>
<DT id="1"><B>-o</B>, <B>--output</B>=<I>FILE</I><DD>
operate interactively, sending output to FILE
<DT id="2"><B>-i</B>, <B>--ignore-case</B><DD>
consider upper- and lower-case to be the same
<DT id="3"><B>-E</B>, <B>--ignore-tab-expansion</B><DD>
ignore changes due to tab expansion
<DT id="4"><B>-Z</B>, <B>--ignore-trailing-space</B><DD>
ignore white space at line end
<DT id="5"><B>-b</B>, <B>--ignore-space-change</B><DD>
ignore changes in the amount of white space
<DT id="6"><B>-W</B>, <B>--ignore-all-space</B><DD>
ignore all white space
<DT id="7"><B>-B</B>, <B>--ignore-blank-lines</B><DD>
ignore changes whose lines are all blank
<DT id="8"><B>-I</B>, <B>--ignore-matching-lines</B>=<I>RE</I><DD>
ignore changes all whose lines match RE
<DT id="9"><B>--strip-trailing-cr</B><DD>
strip trailing carriage return on input
<DT id="10"><B>-a</B>, <B>--text</B><DD>
treat all files as text
<DT id="11"><B>-w</B>, <B>--width</B>=<I>NUM</I><DD>
output at most NUM (default 130) print columns
<DT id="12"><B>-l</B>, <B>--left-column</B><DD>
output only the left column of common lines
<DT id="13"><B>-s</B>, <B>--suppress-common-lines</B><DD>
do not output common lines
<DT id="14"><B>-t</B>, <B>--expand-tabs</B><DD>
expand tabs to spaces in output
<DT id="15"><B>--tabsize</B>=<I>NUM</I><DD>
tab stops at every NUM (default 8) print columns
<DT id="16"><B>-d</B>, <B>--minimal</B><DD>
try hard to find a smaller set of changes
<DT id="17"><B>-H</B>, <B>--speed-large-files</B><DD>
assume large files, many scattered small changes
<DT id="18"><B>--diff-program</B>=<I>PROGRAM</I><DD>
use PROGRAM to compare files
<DT id="19"><B>--help</B><DD>
display this help and exit
<DT id="20"><B>-v</B>, <B>--version</B><DD>
output version information and exit
</DL>
<P>
If a FILE is '-', read standard input.
Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.
<A NAME="lbAE">&nbsp;</A>
<H2>AUTHOR</H2>
Written by Thomas Lord.
<A NAME="lbAF">&nbsp;</A>
<H2>REPORTING BUGS</H2>
Report bugs to: <A HREF="mailto:bug-diffutils@gnu.org">bug-diffutils@gnu.org</A>
<BR>
GNU diffutils home page: &lt;<A HREF="https://www.gnu.org/software/diffutils/">https://www.gnu.org/software/diffutils/</A>&gt;
<BR>
General help using GNU software: &lt;<A HREF="https://www.gnu.org/gethelp/">https://www.gnu.org/gethelp/</A>&gt;
<A NAME="lbAG">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright &#169; 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;<A HREF="https://gnu.org/licenses/gpl.html">https://gnu.org/licenses/gpl.html</A>&gt;.
<BR>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+cmp">cmp</A>(1), <A HREF="/cgi-bin/man/man2html?1+diff">diff</A>(1), <A HREF="/cgi-bin/man/man2html?1+diff3">diff3</A>(1)
<P>
The full documentation for
<B>GNU</B>
is maintained as a Texinfo manual. If the
<B>info</B>
and
<B>GNU</B>
programs are properly installed at your site, the command
<DL COMPACT>
<DT id="21"><DD>
<B>info GNU</B>
</DL>
<P>
should give you access to the complete manual.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="22"><A HREF="#lbAB">NAME</A><DD>
<DT id="23"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="24"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="25"><A HREF="#lbAE">AUTHOR</A><DD>
<DT id="26"><A HREF="#lbAF">REPORTING BUGS</A><DD>
<DT id="27"><A HREF="#lbAG">COPYRIGHT</A><DD>
<DT id="28"><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:26 GMT, March 31, 2021
</BODY>
</HTML>