home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Programming / rcs5ap1b.lzh / RCSCLEAN.1LP < prev    next >
Encoding:
Text File  |  1991-01-30  |  2.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. RCSCLEAN(1)            Programmer's Manual            RCSCLEAN(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      rcsclean - clean up working files
  10.  
  11. SYNOPSIS
  12.      rcsclean [_r_c_s_d_i_f_f _o_p_t_i_o_n_s] [_f_i_l_e ... ]
  13.  
  14. DESCRIPTION
  15.      rcsclean removes working files that were checked out and
  16.      never modified.  For each file given, rcsclean 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, unlocks the revision.
  20.  
  21.      If no _f_i_l_e is given, all working files in the current direc-
  22.      tory are cleaned.  Any other options are passed along to
  23.      rcsdiff for the comparison.
  24.  
  25.      rcsclean is useful for clean targets in Makefiles.  See also
  26.      rcsdiff(1), which prints out the differences, and ci(1),
  27.      which normally asks whether to check in a file if it was not
  28.      changed.
  29.  
  30. EXAMPLES
  31.           rcsclean  *.c  *.h
  32.  
  33.      removes all working files ending in .c or .h that were not
  34.      changed since their checkout.
  35.           rcsclean
  36.  
  37.      removes all working files in the current directory that were
  38.      not changed since their checkout.
  39.  
  40. DIAGNOSTICS
  41.      The exit status is 0 if there were no differences in any
  42.      file under RCS control, 1 if there were differences, and 2
  43.      if there were errors.
  44.  
  45. IDENTIFICATION
  46.      Author: Walter F. Tichy.
  47.      Revision Number: 1.4; Release Date: 1990/11/02.
  48.      Copyright c 1982, 1988, 1989 by Walter F. Tichy.
  49.      Copyright c 1990 by Paul Eggert.
  50.  
  51. SEE ALSO
  52.      ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1),
  53.      rcsmerge(1), rlog(1), rcsfile(5)
  54.      Walter F. Tichy, RCS--A System for Version Control,
  55.      _S_o_f_t_w_a_r_e--_P_r_a_c_t_i_c_e & _E_x_p_e_r_i_e_n_c_e 15, 7 (July 1985), 637-654.
  56.  
  57. BUGS
  58.      RCS file names may not be given as arguments.
  59.  
  60.  
  61.  
  62.  
  63. Printed 1/29/91            1990/11/02                           1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RCSCLEAN(1)            Programmer's Manual            RCSCLEAN(1)
  71.  
  72.  
  73.  
  74.      Any diagnostics generated by rcsdiff when comparing files
  75.      are discarded.
  76.  
  77.      If the latest revision is already unlocked, and you have a
  78.      lock on an earlier revision, the earlier revision is
  79.      unlocked.
  80.  
  81.      rcsclean is just an optional example shell script, and
  82.      should not be taken too seriously.
  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. Printed 1/29/91            1990/11/02                           2
  130.  
  131.  
  132.  
  133.