RCSDIFF(1) | General Commands Manual | RCSDIFF(1) |
rcsdiff
— compare
RCS revisions
rcsdiff |
[-cnquV ]
[-k mode]
[-r rev]
[-x suffixes]
[-z tz]
[diff_options] file ... |
The 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
tzThe rcsdiff
utility exits with one of the
following values:
Compare the latest revision of the default branch with the content of working file foo.c:
$ 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
ci(1), co(1), diff(1), ident(1), rcs(1), rcsclean(1), rcsmerge(1), rlog(1)
The flag [-T
] has no effect and is
provided for compatibility only.
September 3, 2010 | OpenBSD-6.7 |