slist [ -h ] file ...


     Slist prints the names and revision numbers of the files
     given as arguments.

     The -h option prints the revision number of the latest file
     in the trunk, thus an slist of the head (frontier) of the
     RCS tree is printed.  This is useful for comparing against
     the output of slist from an executable to check that the
     latest revisions were indeed used.

     If the -h option is not used then the file name arguments
     need be working or executable file names containing valid
     Header identifiers.


     Create an slist from an executable:
          % slist executable >executable.slist
     Compare the working files against the latest revisions:
          % slist -h RCS/*.c,v >latest.slist
          % slist *.c | diff - latest.slist


     Complaints from ident for files not containing identifiers.
     Complaints from rlog about non-existing RCS files.


     Diomidis Spinellis (


     rcs(1), co (1), ci (1), rlog (1), ident(1).
     Walter F. Tichy, "Design, Implementation, and Evaluation of
     a Revision Control System," in Proceedings of the 6th Inter-
     national Conference on Software Engineering, IEEE, Tokyo,
     Sept. 1982.


     Depends a lot on the format of the rlog and ident output.

     If a file contains no header keyword, but contains other
     keywords no entry will be generated for that file, unless -h
     is used.

Man(1) output converted with man2html