- publishing free software manuals
Comparing and Merging Files with GNU diff and patch
by David MacKenzie, Paul Eggert, and Richard Stallman
Paperback (6"x9"), 120 pages
ISBN 0954161750
RRP £12.95 ($19.95)

"Well packaged... the quality of information is excellent" --- Linux User and Developer Magazine (Issue 36, Feb 2004) Get a printed copy>>>

9.1 Specifying diff Options to sdiff

The following sdiff options have the same meaning as for diff. See section 13.1 Options to diff, for the use of these options.

-a -b -d -i -t -v
-B -E -I regexp


For historical reasons, sdiff has alternate names for some options. The -l option is equivalent to the --left-column option, and similarly -s is equivalent to --suppress-common-lines. The meaning of the sdiff -w and -W options is interchanged from that of diff: with sdiff, -w columns is equivalent to --width=columns, and -W is equivalent to --ignore-all-space. sdiff without the -o option is equivalent to diff with the -y or --side-by-side option (see section 2.4 Showing Differences Side by Side).

ISBN 0954161750Comparing and Merging Files with GNU diff and patchSee the print edition