MAN page from Mandrake Other rcs-5.7-7.i386.rpm
RCSDIFF
Section: User Commands (1)
Updated: 1993/11/03
Index NAME
rcsdiff - compare RCS revisions
SYNOPSIS
rcsdiff[
-ksubst] [
-q] [
-rrev1[
-rrev2] ] [
-T] [
-V[
n]] [
-xsuffixes] [
-zzone] [
diff options]
file ... DESCRIPTION
rcsdiffruns
diff(1)to compare two revisions of each
RCS file given.
Pathnames matching an RCS suffix denote RCS files;all others denote working files.Names are paired as explained inci(1).
The option-qsuppresses diagnostic output.Zero, one, or two revisions may be specified with-r.The option-ksubstaffects keyword substitution when extractingrevisions, as described inco(1);for example,-kk -r1.1 -r1.2ignores differences in keyword values when comparing revisions1.1and1.2.To avoid excess output from locker name substitution,-kkvlis assumed if (1) at most one revision option is given,(2) no-koption is given, (3)-kkvis the default keyword substitution, and(4) the working file's mode would be produced byco -l.Seeco(1)for detailsabout-T,-V,-xand-z.Otherwise, all options ofdiff(1)that apply to regular files are accepted, with the same meaning as fordiff.
If bothrev1andrev2are omitted,rcsdiffcompares the latest revision on thedefault branch (by default the trunk)with the contents of the corresponding working file. This is usefulfor determining what you changed since the last checkin.
Ifrev1is given, butrev2is omitted,rcsdiffcompares revisionrev1of the RCS file withthe contents of the corresponding working file.
If bothrev1andrev2are given,rcsdiffcompares revisionsrev1andrev2of the RCS file.
Bothrev1andrev2may be given numerically or symbolically.
EXAMPLE
The command
rcsdiff f.c
compares the latest revision on the default branch of the RCS fileto the contents of the working filef.c.
ENVIRONMENT
- RCSINIT
- options prepended to the argument list, separated by spaces.Seeci(1)for details.
DIAGNOSTICS
Exit status is 0 for no differences during any comparison,1 for some differences, 2 for trouble.
IDENTIFICATION
Author: Walter F. Tichy.
Manual Page Revision: 5.5; Release Date: 1993/11/03.
Copyright © 1982, 1988, 1989 Walter F. Tichy.
Copyright © 1990, 1991, 1992, 1993 Paul Eggert.
SEE ALSO
ci(1),
co(1),
diff(1),
ident(1),
rcs(1),
rcsintro(1),
rcsmerge(1),
rlog(1)
Walter F. Tichy,
RCS--A System for Version Control,
Software--Practice & Experience15,7 (July 1985), 637-654.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- EXAMPLE
- ENVIRONMENT
- DIAGNOSTICS
- IDENTIFICATION
- SEE ALSO
This document was created byman2html,using the manual pages.