

RCSCLEAN(1)                Unix Programmer's Manual                RCSCLEAN(1)


NNNAAAMMMEEE
     rcsclean - clean up working files

SSSYYYNNNOOOPPPSSSIIISSS
     rrrcccssscccllleeeaaannn [_r_c_s_d_i_f_f _o_p_t_i_o_n_s] [_f_i_l_e\ ...\ ]

DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
     rrrcccssscccllleeeaaannn removes working files that were checked out and never  modified.
     For each file given, rrrcccssscccllleeeaaannn compares the working file and a revision in
     the corresponding RCS file. If it finds no  difference,  it  removes  the
     working file, and, if the revision was locked, unlocks the revision.

     If no _f_i_l_e is given, all working  files  in  the  current  directory  are
     cleaned.   Any  other  options  are  passed  along  to  rrrcccsssdddiiiffffff  for  the
     comparison.

     rrrcccssscccllleeeaaannn is useful for cccllleeeaaannn targets in Makefiles.  See also  rrrcccsssdddiiiffffff(1),
     which  prints out the differences, and ccciii(1), which normally asks whether
     to check in a file if it was not changed.

EEEXXXAAAMMMPPPLLLEEESSS

          rcsclean  *.c  *.h

     removes all working files ending in ...ccc or ...hhh that were not changed  since
     their checkout.
          rcsclean

     removes all working files in the current directory that were not  changed
     since their checkout.

DDDIIIAAAGGGNNNOOOSSSTTTIIICCCSSS
     The exit status is 0 if there were no differences in any file  under  RCS
     control, 1 if there were differences, and 2 if there were errors.

IIIDDDEEENNNTTTIIIFFFIIICCCAAATTTIIIOOONNN
     Author: Walter F. Tichy.
     Revision Number: 1.4; Release Date: 1990/11/02.
     Copyright (c) 1982, 1988, 1989 by Walter F. Tichy.
     Copyright (c) 1990 by Paul Eggert.

SSSEEEEEE AAALLLSSSOOO
     ci(1), co(1), ident(1),  rcs(1),  rcsdiff(1),  rcsintro(1),  rcsmerge(1),
     rlog(1), rcsfile(5)
     Walter F. Tichy, RCS--A System for Version Control, _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 111555, 7 (July 1985), 637-654.

BBBUUUGGGSSS
     RCS file names may not be given as arguments.

     Any diagnostics generated by rrrcccsssdddiiiffffff when comparing files are discarded.

     If the latest revision is already unlocked, and you have  a  lock  on  an
     earlier revision, the earlier revision is unlocked.




                                    \*(Dt                                    1



RCSCLEAN(1)                Unix Programmer's Manual                RCSCLEAN(1)


     rrrcccssscccllleeeaaannn is just an optional example shell  script,  and  should  not  be
     taken too seriously.
























































                                    \*(Dt                                    2

