home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / RCS43X.ZIP / RCSCLEAN.MAN < prev    next >
Text File  |  1990-11-19  |  2KB  |  54 lines

  1. NAME
  2.      rcsclean - clean up working files
  3.  
  4. SYNOPSIS
  5.      rcsclean [ -rrev ] [ -qrev ] file...
  6.  
  7. DESCRIPTION
  8.      Rcsclean removes working files that were checked out and
  9.      never modified.  For each file given, rcsclean compares the
  10.      working file and a revision in the corresponding RCS file.
  11.      If it finds no difference, it removes the working file, and,
  12.      if the revision was locked by the caller, unlocks the revi-
  13.      sion.
  14.  
  15.      A file name ending in ',v' is an RCS file name, otherwise a
  16.      working file name. Rcsclean derives the working file name
  17.      from the RCS file name and vice versa, as explained in
  18.      co(L).  Pairs consisting of both an RCS and a working file
  19.      name may also be specified.
  20.  
  21.      Rev specifies with which revision the working file is com-
  22.      pared.  If rev is omitted, rcsclean compares the working
  23.      file with the latest revision on the default branch (nor-
  24.      mally the highest branch on the trunk).  The option -q
  25.      suppresses diagnostics.
  26.  
  27.      Rcsclean is useful for "clean" targets in Makefiles.  Note
  28.      that rcsdiff(L) prints out the differences.  Also, ci(L)
  29.      normally asks whether to check in a file if it was not
  30.      changed.
  31.  
  32. EXAMPLES
  33.      The command
  34.  
  35.           rcsclean *.c *.h
  36.  
  37.      removes all working files ending in ".c" or ".h" that were
  38.      not changed since their checkout.
  39.  
  40. DIAGNOSTICS
  41.      The exit status is 0 if there were no differences during the
  42.      last comparison or if the last working file did not exist, 1
  43.      if there were differences, and 2 if there were errors.
  44.  
  45. IDENTIFICATION
  46.      Author: Walter F. Tichy, Purdue University, West Lafayette,
  47.      IN, 47907.
  48.      Revision Number: 1.3 ; Release Date: 89/10/30 .
  49.      Copyright c 1982, 1988, 1989 by Walter F. Tichy.
  50.  
  51. SEE ALSO
  52.      co(L), ci(L), ident(L), rcs(L), rcsdiff(L), rcsintro(L),
  53.      rcsmerge(L), rlog(L), rcsfile(L).
  54.