1 .TH RCSCLEAN 1L "" "Purdue University"
3 rcsclean \- clean up working files
5 \fBrcsclean\fR [ \fB-r\fIrev\fR ] [ \fB-q\fIrev\fR ] file...
8 removes working files that were checked out and never modified.
9 For each file given, \fIrcsclean\fR
10 compares the working file and a revision in the corresponding
11 RCS file. If it finds no difference, it removes the working file, and,
12 if the revision was locked by the caller, unlocks the revision.
14 A file name ending in ',v' is an RCS file name, otherwise a
15 working file name. \fIRcsclean\fR derives the working file name from the RCS
16 file name and vice versa, as explained in
19 of both an RCS and a working file name may also be specified.
21 \fIRev\fR specifies with which revision the working file is compared.
22 If \fIrev\fR is omitted, \fIrcsclean\fR compares the working file with
24 on the default branch (normally the highest branch on the trunk).
25 The option \fB-q\fR suppresses diagnostics.
27 \fIRcsclean\fR is useful for "clean" targets in Makefiles.
30 prints out the differences.
33 normally asks whether to check in a file
34 if it was not changed.
42 removes all working files ending in ".c" or ".h" that were not changed
45 The exit status is 0 if there were no differences
46 during the last comparison or if the last working file did not exist,
47 1 if there were differences, and 2 if there were errors.
52 Author: Walter F. Tichy,
53 Purdue University, West Lafayette, IN, 47907.
58 .VL $Date: 1993/03/21 09:58:04 $
61 Copyright \(co 1982, 1988, 1989 by Walter F. Tichy.
63 co(1L), ci(1L), ident(1L), rcs(1L), rcsdiff(1L), rcsintro(1L), rcsmerge(1L),
64 rlog(1L), rcsfile(5L).