RCSDIFF(1) | General Commands Manual | RCSDIFF(1) |
rcsdiff
—
rcsdiff |
[-cnquV ]
[-k mode]
[-r rev]
[-x suffixes]
[-z tz]
[diff_options] file ... |
rcsdiff
program is used to compare revisions of RCS
files, in much the same way as the diff(1)
utility. Differences between two specific revisions can be requested, as well
as differences between the current working file and the latest revision of the
default branch.
It is not possible to display differences between entire
directories, or differences between more than two files. All diffs produced
are in the standard diff format, unless the -u
option is specified, which produces unified diffs.
rcsdiff
also supports keyword substitution
– see the rcs(1) man page for more
information.
The following options are supported:
-c
-k
mode-n
-q
-r
rev-u
-V
-x
suffixes-z
tzRCSINIT
TMPDIR
rcsdiff
utility exits with one of the following
values:
$ rcsdiff foo.c
Compare revision 1.7 and 1.8 of file foo.c and ignore differences in keyword values:
$ rcsdiff -kk -r1.7 -r1.8
foo.c
-T
] has no effect and is provided for
compatibility only.September 3, 2010 | OpenBSD-current |