1RCSDIFF(1) General Commands Manual RCSDIFF(1)
2
3
4
6 rcsdiff - compare RCS revisions
7
9 rcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [ -V[n] ] [
10 -xsuffixes ] [ -zzone ] [ diff options ] file ...
11
13 rcsdiff runs diff(1) to compare two revisions of each RCS file given.
14
15 Pathnames matching an RCS suffix denote RCS files; all others denote
16 working files. Names are paired as explained in ci(1).
17
18 The option -q suppresses diagnostic output. Zero, one, or two revi‐
19 sions may be specified with -r. The option -ksubst affects keyword
20 substitution when extracting revisions, as described in co(1); for
21 example, -kk -r1.1 -r1.2 ignores differences in keyword values when
22 comparing revisions 1.1 and 1.2. To avoid excess output from locker
23 name substitution, -kkvl is assumed if (1) at most one revision option
24 is given, (2) no -k option is given, (3) -kkv is the default keyword
25 substitution, and (4) the working file's mode would be produced by
26 co -l. See co(1) for details about -T, -V, -x and -z. Otherwise, all
27 options of diff(1) that apply to regular files are accepted, with the
28 same meaning as for diff.
29
30 If both rev1 and rev2 are omitted, rcsdiff compares the latest revision
31 on the default branch (by default the trunk) with the contents of the
32 corresponding working file. This is useful for determining what you
33 changed since the last checkin.
34
35 If rev1 is given, but rev2 is omitted, rcsdiff compares revision rev1
36 of the RCS file with the contents of the corresponding working file.
37
38 If both rev1 and rev2 are given, rcsdiff compares revisions rev1 and
39 rev2 of the RCS file.
40
41 Both rev1 and rev2 may be given numerically or symbolically.
42
44 The command
45
46 rcsdiff f.c
47
48 compares the latest revision on the default branch of the RCS file to
49 the contents of the working file f.c.
50
52 RCSINIT
53 options prepended to the argument list, separated by spaces.
54 See ci(1) for details.
55
57 Exit status is 0 for no differences during any comparison, 1 for some
58 differences, 2 for trouble.
59
61 Author: Walter F. Tichy.
62 Manual Page Revision: 5.5; Release Date: 1993/11/03.
63 Copyright © 1982, 1988, 1989 Walter F. Tichy.
64 Copyright © 1990, 1991, 1992, 1993 Paul Eggert.
65
67 ci(1), co(1), diff(1), ident(1), rcs(1), rcsintro(1), rcsmerge(1),
68 rlog(1)
69 Walter F. Tichy, RCS--A System for Version Control, Software--Practice
70 & Experience 15, 7 (July 1985), 637-654.
71
72
73
74GNU 1993/11/03 RCSDIFF(1)