diffutils: Invoking sdiff
1
1 16 Invoking 'sdiff'
1 *******************
1
1 The 'sdiff' command merges two files and interactively outputs the
1 results. Its arguments are as follows:
1
1 sdiff -o OUTFILE OPTIONS... FROM-FILE TO-FILE
1
1 This merges FROM-FILE with TO-FILE, with output to OUTFILE. If
1 FROM-FILE is a directory and TO-FILE is not, 'sdiff' compares the file
1 in FROM-FILE whose file name is that of TO-FILE, and vice versa.
1 FROM-FILE and TO-FILE may not both be directories.
1
1 'sdiff' options begin with '-', so normally FROM-FILE and TO-FILE may
1 not begin with '-'. However, '--' as an argument by itself treats the
1 remaining arguments as file names even if they begin with '-'. You may
1 not use '-' as an input file.
1
1 'sdiff' without '--output' ('-o') produces a side-by-side difference.
1 This usage is obsolete; use the '--side-by-side' ('-y') option of 'diff'
1 instead.
1
1 An exit status of 0 means no differences were found, 1 means some
1 differences were found, and 2 means trouble.
1
Menu