Go forward to diff examples.
Go up to diff.
diff options
------------
These standard options are supported by `diff' (*note Common
options::., for a complete description of them):
`-D DATE'
Use the most recent revision no later than DATE. See `-r' for how
this affects the comparison.
`-k KFLAG'
Process RCS keywords according to KFLAG. See co(1).
`-l'
Local; run only in current working directory.
`-R'
Examine directories recursively. This option is on by default.
`-r TAG'
Compare with revision TAG. Zero, one or two `-r' options can be
present. With no `-r' option, the working file will be compared
with the revision it was based on. With one `-r', that revision
will be compared to your current working file. With two `-r'
options those two revisions will be compared (and your working
file will not affect the outcome in any way).
One or both `-r' options can be replaced by a `-D DATE' option,
described above.
`--ifdef=ARG'
Output in ifdef format. Consult the documentation of your
underlying diff program concerning the `-D' option to diff, for
more information on this format.
The following options are passed through to `rcsdiff', which in turn
passes them to `diff'. The exact meaning of the options depends on
which `diff' you are using. See the documentation for your `diff' for
details.
`-a' `-b' `-B' `-c' `-C' NLINES `-d' `-e' `-f' `-h' `-H' `-i' `-n'
`-N' `-p' `-s' `-t' `-u' `-U' NLINES `-F' REGEXP `-I' REGEXP `-L' LABEL
`-T' `-V' ARG `-W' COLUMNS `-w' `-y' `-0' `-1' `-2' `-3' `-4' `-5' `-6'
`-7' `-8' `-9' `--binary' `--brief' `--changed-group-format=ARG'
`--context[=LINES]' `--ed' `--expand-tabs' `--forward-ed'
`--horizon-lines=ARG' `--ignore-all-space' `--ignore-blank-lines'
`--ignore-case' `--ignore-matching-lines=REGEXP'
`--ignore-space-change' `--initial-tab' `--label=LABEL' `--left-column'
`--minimal' `--new-file' `--new-line-format=ARG'
`--old-line-format=ARG' `--paginate' `--rcs' `--report-identical-files'
`--code-c-function' `--side-by-side' `--show-function-line=REGEXP'
`--speed-large-files' `--suppress-common-lines' `--text'
`--unchanged-group-format=ARG' `--unified[=LINES]' `--width=COLUMNS'