|
|
1.1 ! root 1: .TH RCSCLEAN 1L "" "Purdue University" ! 2: .SH NAME ! 3: rcsclean \- clean up working files ! 4: .SH SYNOPSIS ! 5: \fBrcsclean\fR [ \fB-r\fIrev\fR ] [ \fB-q\fIrev\fR ] file... ! 6: .SH DESCRIPTION ! 7: .I Rcsclean ! 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. ! 13: .PP ! 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 ! 17: .IR co (1L). ! 18: Pairs consisting ! 19: of both an RCS and a working file name may also be specified. ! 20: .PP ! 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 ! 23: the latest revision ! 24: on the default branch (normally the highest branch on the trunk). ! 25: The option \fB-q\fR suppresses diagnostics. ! 26: .PP ! 27: \fIRcsclean\fR is useful for "clean" targets in Makefiles. ! 28: Note that ! 29: .IR rcsdiff (1L) ! 30: prints out the differences. ! 31: Also, ! 32: .IR ci (1L) ! 33: normally asks whether to check in a file ! 34: if it was not changed. ! 35: .SH EXAMPLES ! 36: .nf ! 37: The command ! 38: ! 39: rcsclean *.c *.h ! 40: ! 41: .fi ! 42: removes all working files ending in ".c" or ".h" that were not changed ! 43: since their checkout. ! 44: .SH DIAGNOSTICS ! 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. ! 48: .SH IDENTIFICATION ! 49: .de VL ! 50: \\$2 ! 51: .. ! 52: Author: Walter F. Tichy, ! 53: Purdue University, West Lafayette, IN, 47907. ! 54: .sp 0 ! 55: Revision Number: ! 56: .VL $Revision: 1.2 $ ! 57: ; Release Date: ! 58: .VL $Date: 89/05/02 11:15:26 $ ! 59: \&. ! 60: .sp 0 ! 61: Copyright \(co 1982, 1988, 1989 by Walter F. Tichy. ! 62: .SH SEE ALSO ! 63: co(1L), ci(1L), ident(1L), rcs(1L), rcsdiff(1L), rcsintro(1L), rcsmerge(1L), ! 64: rlog(1L), rcsfile(5L).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.