4.3BSD-UWisc/man/catl/rcsdiff.l




RCSDIFF(1)          UNIX Programmer's Manual           RCSDIFF(1)



NAME
     rcsdiff - compare RCS revisions

SYNOPSIS
     rcsdiff [ -b ] [ -cefhn ] [ -r_r_e_v_1 ] [ -r_r_e_v_2 ] file ...

DESCRIPTION
     _R_c_s_d_i_f_f runs _d_i_f_f (1) to compare two revisions of each RCS
     file given.  A file name ending in ',v' is an RCS file name,
     otherwise a working file name. _R_c_s_d_i_f_f derives the working
     file name from the RCS file name and vice versa, as
     explained in _c_o (1). Pairs consisting of both an RCS and a
     working file name may also be specified.

     The options -b, -c, -e, -f, and -h have the same effect as
     described in _d_i_f_f (1); option -n generates an edit script of
     the format used by RCS.

     If both _r_e_v_1 and _r_e_v_2 are omitted, _r_c_s_d_i_f_f 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 checkin.

     If _r_e_v_1 is given, but _r_e_v_2 is omitted, _r_c_s_d_i_f_f compares
     revision _r_e_v_1 of the RCS file with the contents of the
     corresponding working file.

     If both _r_e_v_1 and _r_e_v_2 are given, _r_c_s_d_i_f_f compares revisions
     _r_e_v_1 and _r_e_v_2 of the RCS file.

     Both _r_e_v_1 and _r_e_v_2 may be given numerically or symbolically.

EXAMPLES
     The command

             rcsdiff  f.c

     runs _d_i_f_f on the latest trunk revision of RCS file f.c,v and
     the contents of working file f.c.

IDENTIFICATION
     Author: Walter F. Tichy, Purdue University, West Lafayette,
     IN, 47907.
     Revision Number: 3.0 ; Release Date: 83/01/15 .
     Copyright 8c9 1982 by Walter F. Tichy.

SEE ALSO
     ci (1), co (1), diff (1), ident (1), rcs (1), rcsintro (1),
     rcsmerge (1), rlog (1), rcsfile (5).
     Walter F. Tichy, "Design, Implementation, and Evaluation of
     a Revision Control System," in _P_r_o_c_e_e_d_i_n_g_s _o_f _t_h_e _6_t_h _I_n_t_e_r_-
     _n_a_t_i_o_n_a_l _C_o_n_f_e_r_e_n_c_e _o_n _S_o_f_t_w_a_r_e _E_n_g_i_n_e_e_r_i_n_g, IEEE, Tokyo,



Printed 1/10/87              6/29/83                            1






RCSDIFF(1)          UNIX Programmer's Manual           RCSDIFF(1)



     Sept. 1982.

BUGS

















































Printed 1/10/87              6/29/83                            2