Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Node:sdiff Options, Up:Invoking sdiff

Options to sdiff

Below is a summary of all of the options that GNU sdiff accepts. Each option has two equivalent names, one of which is a single letter preceded by -, and the other of which is a long name preceded by --. Multiple single letter options (unless they take an argument) can be combined into a single command line argument. Long named options can be abbreviated to any unique prefix of their name.

Treat all files as text and compare them line-by-line, even if they do not appear to be text. See Binary.
Ignore changes in amount of white space. See White Space.
Ignore changes that just insert or delete blank lines. See Blank Lines.
Change the algorithm to perhaps find a smaller set of changes. This makes sdiff slower (sometimes much slower). See diff Performance.
Use the compatible comparison program program to compare files instead of diff.
Ignore changes due to tab expansion. See White Space.
Output a summary of usage and then exit.
Ignore changes in case; consider upper- and lower-case to be the same. See Case Folding.
-I regexp
Ignore changes that just insert or delete lines that match regexp. See Specified Folding.
Print only the left column of two common lines. See Side by Side Format.
-o file
Put merged output into file. This option is required for merging.
Do not print common lines. See Side by Side Format.
Use heuristics to speed handling of large files that have numerous scattered small changes. See diff Performance.
Strip any trailing carriage return at the end of an input line. See Binary.
Expand tabs to spaces in the output, to preserve the alignment of tabs in the input files. See Tabs.
Output version information and then exit.
-w columns
Output at most columns (default 130) print columns per line. See Side by Side Format. Note that for historical reasons, this option is -W in diff, -w in sdiff.
Ignore white space when comparing lines. See White Space. Note that for historical reasons, this option is -w in diff, -W in sdiff.

  Published under the terms of the GNU General Public License Design by Interspire