Go to the first, previous, next, last section, table of contents.


A.9.1 diff options

These standard options are supported by diff (see section A.5 Common command 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


Go to the first, previous, next, last section, table of contents.