home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 317a.lha / RCS / doc / rcsclean.1l.doc < prev    next >
Text File  |  1989-12-05  |  2KB  |  133 lines

  1.  
  2.  
  3.  
  4. RCSCLEAN(1L)      UNKNOWN SECTION OF THE MANUAL      RCSCLEAN(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      rcsclean - clean up working files
  10.  
  11. SYNOPSIS
  12.      rcsclean [ -r_r_e_v ] [ -q_r_e_v ] file...
  13.  
  14. DESCRIPTION
  15.      _R_c_s_c_l_e_a_n removes working files that  were  checked  out  and
  16.      never  modified.  For each file given, _r_c_s_c_l_e_a_n compares the
  17.      working file and a revision in the corresponding  RCS  file.
  18.      If it finds no difference, it removes the working file, and,
  19.      if the revision was locked by the caller, unlocks the  revi-
  20.      sion.
  21.  
  22.      A file name ending in ',v' is an RCS file name, otherwise  a
  23.      working  file  name.  _R_c_s_c_l_e_a_n derives the working file name
  24.      from the RCS file name  and  vice  versa,  as  explained  in
  25.      _c_o(1L).   Pairs consisting of both an RCS and a working file
  26.      name may also be specified.
  27.  
  28.      _R_e_v specifies with which revision the working file  is  com-
  29.      pared.   If  _r_e_v  is  omitted, _r_c_s_c_l_e_a_n compares the working
  30.      file with the latest revision on the  default  branch  (nor-
  31.      mally  the  highest  branch  on  the  trunk).  The option -q
  32.      suppresses diagnostics.
  33.  
  34.      _R_c_s_c_l_e_a_n is useful for "clean" targets in  Makefiles.   Note
  35.      that  _r_c_s_d_i_f_f(1L)  prints out the differences.  Also, _c_i(1L)
  36.      normally asks whether to check in  a  file  if  it  was  not
  37.      changed.
  38.  
  39. EXAMPLES
  40.      The command
  41.  
  42.           rcsclean *.c *.h
  43.  
  44.      removes all working files ending in ".c" or ".h"  that  were
  45.      not changed since their checkout.
  46.  
  47. DIAGNOSTICS
  48.      The exit status is 0 if there were no differences during the
  49.      last comparison or if the last working file did not exist, 1
  50.      if there were differences, and 2 if there were errors.
  51.  
  52. IDENTIFICATION
  53.      Author: Walter F. Tichy, Purdue University, West  Lafayette,
  54.      IN, 47907.
  55.      Revision Number: 1.2 ; Release Date: 89/05/02 .
  56.      Copyright c 1982, 1988, 1989 by Walter F. Tichy.
  57.  
  58. SEE ALSO
  59.      co(1L),    ci(1L),    ident(1L),    rcs(1L),    rcsdiff(1L),
  60.  
  61.  
  62.  
  63. Purdue University         Last change:                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RCSCLEAN(1L)      UNKNOWN SECTION OF THE MANUAL      RCSCLEAN(1L)
  71.  
  72.  
  73.  
  74.      rcsintro(1L), rcsmerge(1L), rlog(1L), rcsfile(5L).
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Purdue University         Last change:                          2
  130.  
  131.  
  132.  
  133.