19Sjkh.de Id
29Sjkh.ds Rv \\$3
39Sjkh.ds Dt \\$4
49Sjkh..
550472Speter.Id $FreeBSD: releng/10.2/gnu/usr.bin/rcs/rcsdiff/rcsdiff.1 50472 1999-08-27 23:37:10Z peter $
69Sjkh.ds r \&\s-1RCS\s0
79Sjkh.if n .ds - \%--
89Sjkh.if t .ds - \(em
99Sjkh.TH RCSDIFF 1 \*(Dt GNU
109Sjkh.SH NAME
119Sjkhrcsdiff \- compare RCS revisions
129Sjkh.SH SYNOPSIS
139Sjkh.B rcsdiff
149Sjkh[
159Sjkh.BI \-k subst
169Sjkh] [
179Sjkh.B \-q
189Sjkh] [
199Sjkh.BI \-r rev1
209Sjkh[
219Sjkh.BI \-r rev2
229Sjkh] ] [
2311891Speter.B \-T
249Sjkh] [
2511891Speter.RI "\f3\-V\fP[" n ]
2611891Speter] [
279Sjkh.BI \-x suffixes
289Sjkh] [
2911891Speter.BI \-z zone
3011891Speter] [
319Sjkh.I "diff options"
329Sjkh]
339Sjkh.I "file .\|.\|."
349Sjkh.SH DESCRIPTION
359Sjkh.B rcsdiff
369Sjkhruns
379Sjkh.BR diff (1)
389Sjkhto compare two revisions of each \*r file given.
399Sjkh.PP
409SjkhPathnames matching an \*r suffix denote \*r files;
419Sjkhall others denote working files.
429SjkhNames are paired as explained in
439Sjkh.BR ci (1).
449Sjkh.PP
459SjkhThe option
469Sjkh.B \-q
479Sjkhsuppresses diagnostic output.
489SjkhZero, one, or two revisions may be specified with
499Sjkh.BR \-r .
509SjkhThe option
519Sjkh.BI \-k subst
529Sjkhaffects keyword substitution when extracting
539Sjkhrevisions, as described in
549Sjkh.BR co (1);
559Sjkhfor example,
569Sjkh.B "\-kk\ \-r1.1\ \-r1.2"
579Sjkhignores differences in keyword values when comparing revisions
589Sjkh.B 1.1
599Sjkhand
609Sjkh.BR 1.2 .
619SjkhTo avoid excess output from locker name substitution,
629Sjkh.B \-kkvl
639Sjkhis assumed if (1) at most one revision option is given,
649Sjkh(2) no
659Sjkh.B \-k
669Sjkhoption is given, (3)
679Sjkh.B \-kkv
689Sjkhis the default keyword substitution, and
699Sjkh(4) the working file's mode would be produced by
709Sjkh.BR "co\ \-l".
719SjkhSee
729Sjkh.BR co (1)
739Sjkhfor details
749Sjkhabout
7511891Speter.BR \-T ,
7611891Speter.BR \-V ,
7711891Speter.B \-x
789Sjkhand
7911891Speter.BR \-z .
809SjkhOtherwise, all options of
819Sjkh.BR diff (1)
829Sjkhthat apply to regular files are accepted, with the same meaning as for
839Sjkh.BR diff .
849Sjkh.PP
859SjkhIf both
869Sjkh.I rev1
879Sjkhand
889Sjkh.I rev2
899Sjkhare omitted,
909Sjkh.B rcsdiff
919Sjkhcompares the latest revision on the
929Sjkhdefault branch (by default the trunk)
939Sjkhwith the contents of the corresponding working file.  This is useful
949Sjkhfor determining what you changed since the last checkin.
959Sjkh.PP
969SjkhIf
979Sjkh.I rev1
989Sjkhis given, but
999Sjkh.I rev2
1009Sjkhis omitted,
1019Sjkh.B rcsdiff
1029Sjkhcompares revision
1039Sjkh.I rev1
1049Sjkhof the \*r file with
1059Sjkhthe contents of the corresponding working file.
1069Sjkh.PP
1079SjkhIf both
1089Sjkh.I rev1
1099Sjkhand
1109Sjkh.I rev2
1119Sjkhare given,
1129Sjkh.B rcsdiff
1139Sjkhcompares revisions
1149Sjkh.I rev1
1159Sjkhand
1169Sjkh.I rev2
1179Sjkhof the \*r file.
1189Sjkh.PP
1199SjkhBoth
1209Sjkh.I rev1
1219Sjkhand
1229Sjkh.I rev2
1239Sjkhmay be given numerically or symbolically.
1249Sjkh.SH EXAMPLE
1259SjkhThe command
1269Sjkh.LP
1279Sjkh.B "        rcsdiff  f.c"
1289Sjkh.LP
1299Sjkhcompares the latest revision on the default branch of the \*r file
1309Sjkhto the contents of the working file
1319Sjkh.BR f.c .
1329Sjkh.SH ENVIRONMENT
1339Sjkh.TP
1349Sjkh.B \s-1RCSINIT\s0
1359Sjkhoptions prepended to the argument list, separated by spaces.
1369SjkhSee
1379Sjkh.BR ci (1)
1389Sjkhfor details.
1399Sjkh.SH DIAGNOSTICS
1409SjkhExit status is 0 for no differences during any comparison,
1419Sjkh1 for some differences, 2 for trouble.
1429Sjkh.SH IDENTIFICATION
1439SjkhAuthor: Walter F. Tichy.
1449Sjkh.br
14511891SpeterManual Page Revision: \*(Rv; Release Date: \*(Dt.
1469Sjkh.br
14711891SpeterCopyright \(co 1982, 1988, 1989 Walter F. Tichy.
1489Sjkh.br
14911891SpeterCopyright \(co 1990, 1991, 1992, 1993 Paul Eggert.
1509Sjkh.SH "SEE ALSO"
1519Sjkhci(1), co(1), diff(1), ident(1), rcs(1), rcsintro(1), rcsmerge(1), rlog(1)
1529Sjkh.br
1539SjkhWalter F. Tichy,
1549Sjkh\*r\*-A System for Version Control,
1559Sjkh.I "Software\*-Practice & Experience"
1569Sjkh.BR 15 ,
1579Sjkh7 (July 1985), 637-654.
1589Sjkh.br
159