version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
RCSDIFF |
|
|
2 |
!!!RCSDIFF |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
EXAMPLE |
|
|
7 |
ENVIRONMENT |
|
|
8 |
DIAGNOSTICS |
|
|
9 |
IDENTIFICATION |
|
|
10 |
SEE ALSO |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
rcsdiff - compare RCS revisions |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__rcsdiff__ [[ __-k__''subst'' ] [[ __-q__ ] [[ |
|
|
20 |
__-r__''rev1'' [[ __-r__''rev2'' ] ] [[ __-T__ |
|
|
21 |
] [[ __-V__[[''n''] ] [[ __-x__''suffixes'' ] [[ |
|
|
22 |
__-z__''zone'' ] [[ ''diff options'' ] ''file |
|
|
23 |
...'' |
|
|
24 |
!!DESCRIPTION |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
__rcsdiff__ runs diff(1) to compare two revisions |
|
|
28 |
of each RCS file given. |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
Pathnames matching an RCS suffix denote |
|
|
32 |
RCS files; all others denote working files. |
|
|
33 |
Names are paired as explained in ci(1). |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
The option __-q__ suppresses diagnostic output. Zero, |
|
|
37 |
one, or two revisions may be specified with __-r__. The |
|
|
38 |
option __-k__''subst'' affects keyword substitution |
|
|
39 |
when extracting revisions, as described in co(1); for |
|
|
40 |
example, __-kk -r1.1 -r1.2__ ignores differences in |
|
|
41 |
keyword values when comparing revisions __1.1__ and |
|
|
42 |
__1.2__. To avoid excess output from locker name |
|
|
43 |
substitution, __-kkvl__ is assumed if (1) at most one |
|
|
44 |
revision option is given, (2) no __-k__ option is given, |
|
|
45 |
(3) __-kkv__ is the default keyword substitution, and (4) |
|
|
46 |
the working file's mode would be produced by __co -l__. |
|
|
47 |
See co(1) for details about __-T__, __-V__, |
|
|
48 |
__-x__ and __-z__. Otherwise, all options of |
|
|
49 |
diff(1) that apply to regular files are accepted, |
|
|
50 |
with the same meaning as for __diff__. |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
If both ''rev1'' and ''rev2'' are omitted, |
|
|
54 |
__rcsdiff__ compares the latest revision on the default |
|
|
55 |
branch (by default the trunk) with the contents of the |
|
|
56 |
corresponding working file. This is useful for determining |
|
|
57 |
what you changed since the last checkin. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
If ''rev1'' is given, but ''rev2'' is omitted, |
|
|
61 |
__rcsdiff__ compares revision ''rev1'' of the |
|
|
62 |
RCS file with the contents of the |
|
|
63 |
corresponding working file. |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
If both ''rev1'' and ''rev2'' are given, |
|
|
67 |
__rcsdiff__ compares revisions ''rev1'' and |
|
|
68 |
''rev2'' of the RCS file. |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
Both ''rev1'' and ''rev2'' may be given numerically or |
|
|
72 |
symbolically. |
|
|
73 |
!!EXAMPLE |
|
|
74 |
|
|
|
75 |
|
|
|
76 |
The command |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
__rcsdiff f.c__ |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
compares the latest revision on the default branch of the |
|
|
83 |
RCS file to the contents of the working file |
|
|
84 |
__f.c__. |
|
|
85 |
!!ENVIRONMENT |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
__RCSINIT__ |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
options prepended to the argument list, separated by spaces. |
|
|
92 |
See ci(1) for details. |
|
|
93 |
!!DIAGNOSTICS |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
Exit status is 0 for no differences during any comparison, 1 |
|
|
97 |
for some differences, 2 for trouble. |
|
|
98 |
!!IDENTIFICATION |
|
|
99 |
|
|
|
100 |
|
|
|
101 |
Author: Walter F. Tichy. |
|
|
102 |
Manual Page Revision: 5.5; Release Date: 1993/11/03. |
|
|
103 |
Copyright 1982, 1988, 1989 Walter F. Tichy. |
|
|
104 |
Copyright 1990, 1991, 1992, 1993 Paul Eggert. |
|
|
105 |
!!SEE ALSO |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
ci(1), co(1), diff(1), ident(1), rcs(1), rcsintro(1), |
|
|
109 |
rcsmerge(1), rlog(1) |
|
|
110 |
Walter F. Tichy, RCS --A System for Version |
|
|
111 |
Control, ''Software--Practice '' |
|
|
112 |
__15__, 7 (July 1985), 637-654. |
|
|
113 |
---- |