Contents | < Browse | Browse >
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.
`-a'
Treat all files as text and compare them line-by-line, even if they
do not appear to be text. Binary
`-b'
Ignore changes in amount of white space. White Space
`-B'
Ignore changes that just insert or delete blank lines.
Blank Lines
`-d'
Change the algorithm to perhaps find a smaller set of changes.
This makes `sdiff' slower (sometimes much slower).
diff Performance
`-H'
Use heuristics to speed handling of large files that have numerous
scattered small changes. diff Performance
`--expand-tabs'
Expand tabs to spaces in the output, to preserve the alignment of
tabs in the input files. Tabs
`-i'
Ignore changes in case; consider upper- and lower-case to be the
same. Case Folding
`-I REGEXP'
Ignore changes that just insert or delete lines that match REGEXP.
Specified Folding
`--ignore-all-space'
Ignore white space when comparing lines. White Space
`--ignore-blank-lines'
Ignore changes that just insert or delete blank lines.
Blank Lines
`--ignore-case'
Ignore changes in case; consider upper- and lower-case to be the
same. Case Folding
`--ignore-matching-lines=REGEXP'
Ignore changes that just insert or delete lines that match REGEXP.
Specified Folding
`--ignore-space-change'
Ignore changes in amount of white space. White Space
`-l'
`--left-column'
Print only the left column of two common lines.
Side by Side Format
`--minimal'
Change the algorithm to perhaps find a smaller set of changes.
This makes `sdiff' slower (sometimes much slower).
diff Performance
`-o FILE'
`--output=FILE'
Put merged output into FILE. This option is required for merging.
`-s'
`--suppress-common-lines'
Do not print common lines. Side by Side Format
`--speed-large-files'
Use heuristics to speed handling of large files that have numerous
scattered small changes. diff Performance
`-t'
Expand tabs to spaces in the output, to preserve the alignment of
tabs in the input files. Tabs
`--text'
Treat all files as text and compare them line-by-line, even if they
do not appear to be text. Binary
`-v'
`--version'
Output the version number of `sdiff'.
`-w COLUMNS'
`--width=COLUMNS'
Use an output width of COLUMNS. Side by Side Format
Note that for historical reasons, this option is `-W' in `diff',
`-w' in `sdiff'.
`-W'
Ignore horizontal white space when comparing lines.
White Space. Note that for historical reasons, this option is `-w' in
`diff', `-W' in `sdiff'.