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 Filenames 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. A
54 backslash escapes spaces within an option. The RCSINIT options
55 are prepended to the argument lists of most RCS commands. Use‐
56 ful RCSINIT options include -q, -V, -x, and -z.
57
58 RCS_MEM_LIMIT
59 An integer lim, measured in kilobytes, specifying the threshold
60 under which commands will try to use memory-based operations for
61 processing the RCS file. (For RCS files of size lim kilobytes
62 or greater, RCS will use the slower standard input/output rou‐
63 tines.) Default value is 256.
64
65 TMPDIR Name of the temporary directory. If not set, the environment
66 variables TMP and TEMP are inspected instead and the first value
67 found is taken; if none of them are set, a host-dependent
68 default is used, typically /tmp.
69
71 Exit status is 0 for no differences during any comparison, 1 for some
72 differences, 2 for trouble.
73
75 Author: Walter F. Tichy.
76 Manual Page Revision: 5.9.0; Release Date: 2014-06-10.
77 Copyright © 2010-2013 Thien-Thi Nguyen.
78 Copyright © 1990, 1991, 1992, 1993 Paul Eggert.
79 Copyright © 1982, 1988, 1989 Walter F. Tichy.
80
82 ci(1), co(1), diff(1), ident(1), rcs(1), rcsmerge(1), rlog(1).
83
84 Walter F. Tichy, RCS--A System for Version Control, Software--Practice
85 & Experience 15, 7 (July 1985), 637-654.
86
87 The full documentation for RCS is maintained as a Texinfo manual. If
88 the info(1) and RCS programs are properly installed at your site, the
89 command
90
91 info rcs
92
93 should give you access to the complete manual. Additionally, the RCS
94 homepage:
95
96 http://www.gnu.org/software/rcs/
97
98 has news and links to the latest release, development site, etc.
99
100
101
102GNU RCS 5.9.0 2014-06-10 RCSDIFF(1)