.\" $Header: rcsdiff.1,v 4.2 86/04/29 10:23:56 bob Exp $ .TH RCSDIFF 1 "" " " .SH NAME rcsdiff \- compare RCS revisions .SH SYNOPSIS \fBrcsdiff\fR [ \fB-bcefhn\fR ] [ \fB-r\fRrev1 ] [ \fB-r\fRrev2 ] file ... .SH DESCRIPTION .I Rcsdiff runs \fIdiff\fR(1) to compare two revisions of each RCS file given. A file name ending in `\fB,v\fR' is an RCS file name, otherwise a working file name. \fIRcsdiff\fR derives the working file name from the RCS file name and vice versa, as explained in \fIrcsintro\fR(1). Pairs consisting of both an RCS and a working file name may also be specified. .PP The options \fB-b\fR, \fB-c\fR, \fB-e\fR, \fB-f\fR, and \fB-h\fR have the same effect as described in \fIdiff\fR(1); option \fB-n\fR generates an edit script of the format used by RCS. .PP If both \fIrev1\fR and \fIrev2\fR are omitted, \fIrcsdiff\fR compares the latest revision on the trunk with the contents of the corresponding working file. This is useful for determining what you changed since the last check in. .PP If \fIrev1\fR is given, but \fIrev2\fR is omitted, \fIrcsdiff\fR compares revision \fIrev1\fR of the RCS file with the contents of the corresponding working file. .PP If both \fIrev1\fR and \fIrev2\fR are given, \fIrcsdiff\fR compares revisions \fIrev1\fR and \fIrev2\fR of the RCS file. .PP Both \fIrev1\fR and \fIrev2\fR may be given numerically or symbolically. .SH EXAMPLES .nf The command rcsdiff f.c .fi runs \fIdiff\fR on the latest trunk revision of RCS file f.c,v and the contents of working file f.c. .SH SEE ALSO ci(1), co(1), diff(1), ident(1), rcs(1), rcsintro(1), rcsmerge(1), rlog(1), rcsfile(5).