[0m


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



[1mNAME
     [0mrlog - print log messages and other information about RCS
     files

[1mSYNOPSIS
     rlog [0m[ options ] file ...

[1mDESCRIPTION
     [0m_R_l_o_g prints information about RCS files.  Files ending in
     `,v' are RCS files, all others are working files. If a work-
     ing file is given, _r_l_o_g tries to find the corresponding RCS
     file first in directory ./RCS and then in the current direc-
     tory, as explained in _c_o (1).

     _R_l_o_g prints the following information for each RCS file: RCS
     file name, working file name, head (i.e., the number of the
     latest revision on the trunk), access list, locks, symbolic
     names, suffix, total number of revisions, number of revi-
     sions selected for printing, and descriptive text. This is
     followed by entries for the selected revisions in reverse
     chronological order for each branch. For each revision, _r_l_o_g
     prints revision number, author, date/time, state, number of
     lines added/deleted (with respect to the previous revision),
     locker of the revision (if any), and log message.	Without
     options, _r_l_o_g prints complete information.  The options
     below restrict this output.

     [1m-L        [0mignores RCS files that have no locks set; con-
	       venient in combination with [1m-R[0m, [1m-h[0m, or [1m-l[0m.

     [1m-R        [0monly prints the name of the RCS file; convenient
	       for translating a working file name into an RCS
	       file name.

     [1m-h        [0mprints only RCS file name, working file name,
	       head, access list, locks, symbolic names, and suf-
	       fix.

     [1m-t        [0mprints the same as [1m-h[0m, plus the descriptive text.

     [1m-d[0m_d_a_t_e_s   prints information about revisions with a checkin
	       date/time in the ranges given by the semicolon-
	       separated list of _d_a_t_e_s.  A range of the form
	       _d_1<_d_2 or _d_2>_d_1 selects the revisions that were
	       deposited between _d_1 and _d_2, (inclusive).  A range
	       of the form <_d or _d> selects all revisions dated _d
	       or earlier.  A range of the form _d< or >_d selects
	       all revisions dated _d or later.	A range of the
	       form _d selects the single, latest revision dated _d
	       or earlier.  The date/time strings _d, _d_1, and _d_2
	       are in the free format explained in _c_o (1). Quot-
	       ing is normally necessary, especially for < and >.



Printed 3/2/92	    Revision 1.2 of 19/10/88			1






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



	       Note that the separator is a semicolon.

     [1m-l[0m[_l_o_c_k_e_r_s]
	       prints information about locked revisions.  If the
	       comma-separated list _l_o_c_k_e_r_s of login names is
	       given, only the revisions locked by the given
	       login names are printed.  If the list is omitted,
	       all locked revisions are printed.

     [1m-r[0m_r_e_v_i_s_i_o_n_s
	       prints information about revisions given in the
	       comma-separated list _r_e_v_i_s_i_o_n_s of revisions and
	       ranges. A range _r_e_v_1-_r_e_v_2 means revisions _r_e_v_1 to
	       _r_e_v_2 on the same branch, -_r_e_v means revisions from
	       the beginning of the branch up to and including
	       _r_e_v, and _r_e_v- means revisions starting with _r_e_v to
	       the end of the branch containing _r_e_v. An argument
	       that is a branch means all revisions on that
	       branch. A range of branches means all revisions on
	       the branches in that range.

     [1m-s[0m_s_t_a_t_e_s  prints information about revisions whose state
	       attributes match one of the states given in the
	       comma-separated list _s_t_a_t_e_s.

     [1m-w[0m[_l_o_g_i_n_s]
	       prints information about revisions checked in by
	       users with login names appearing in the comma-
	       separated list _l_o_g_i_n_s.  If _l_o_g_i_n_s is omitted, the
	       user's login is assumed.

     _R_l_o_g prints the intersection of the revisions selected with
     the options [1m-d[0m, [1m-l[0m, [1m-s[0m, [1m-w[0m, intersected with the union of
     the revisions selected by [1m-b [0mand [1m-r[0m.

[1mEXAMPLES
	  [0mrlog	-L  -R	RCS/*,v
	  rlog	-L  -h	RCS/*,v
	  rlog	-L  -l	RCS/*,v
	  rlog	RCS/*,v

     The first command prints the names of all RCS files in the
     subdirectory `RCS' which have locks. The second command
     prints the headers of those files, and the third prints the
     headers plus the log messages of the locked revisions.  The
     last command prints complete information.

[1mDIAGNOSTICS
     [0mThe exit status always refers to the last RCS file operated
     upon, and is 0 if the operation was successful, 1 otherwise.





Printed 3/2/92	    Revision 1.2 of 19/10/88			2






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



[1mIDENTIFICATION
     [0mAuthor: Walter F. Tichy, Purdue University, West Lafayette,
     IN, 47907.
     Revision Number: 1.2 ; Release Date: 88/10/19 .
     Copyright (C) 1982 by Walter F. Tichy.

[1mSEE ALSO
     [0mci (1), co (1), ident(1), rcs (1), rcsdiff (1), rcsintro
     (1), rcsmerge (1), rcsfile (5), sccstorcs (8).
     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,
     Sept. 1982.

[1mBUGS





































[0mPrinted 3/2/92	    Revision 1.2 of 19/10/88			3






[0m