(diffutils.info)Invoking sdiff


Next: Standards conformance Prev: Invoking patch Up: Top
Enter node , (file) or (file)node

16 Invoking 'sdiff'
*******************

The 'sdiff' command merges two files and interactively outputs the
results.  Its arguments are as follows:

     sdiff -o OUTFILE OPTIONS... FROM-FILE TO-FILE

   This merges FROM-FILE with TO-FILE, with output to OUTFILE.  If
FROM-FILE is a directory and TO-FILE is not, 'sdiff' compares the file
in FROM-FILE whose file name is that of TO-FILE, and vice versa.
FROM-FILE and TO-FILE may not both be directories.

   'sdiff' options begin with '-', so normally FROM-FILE and TO-FILE may
not begin with '-'.  However, '--' as an argument by itself treats the
remaining arguments as file names even if they begin with '-'.  You may
not use '-' as an input file.

   'sdiff' without '--output' ('-o') produces a side-by-side difference.
This usage is obsolete; use the '--side-by-side' ('-y') option of 'diff'
instead.

   An exit status of 0 means no differences were found, 1 means some
differences were found, and 2 means trouble.

sdiff Options
Summary of options to 'diff'.

automatically generated by info2www version 1.2.2.9