5 .Id $FreeBSD: src/gnu/usr.bin/rcs/rcsclean/rcsclean.1,v 1.5 1999/08/27 23:36:54 peter Exp $
6 .Id $DragonFly: src/gnu/usr.bin/rcs/rcsclean/rcsclean.1,v 1.2 2003/06/17 04:25:48 dillon Exp $
10 .TH RCSCLEAN 1 \*(Dt GNU
12 rcsclean \- clean up working files
15 .RI [ options "] [ " file " .\|.\|. ]"
18 removes files that are not being worked on.
20 also unlocks and removes files that are being worked on
27 compares the working file and a revision in the corresponding
28 \*r file. If it finds a difference, it does nothing.
29 Otherwise, it first unlocks the revision if the
32 and then removes the working file
33 unless the working file is writable and the revision is locked.
34 It logs its actions by outputting the corresponding
38 commands on the standard output.
40 Files are paired as explained in
44 is given, all working files in the current directory are cleaned.
45 Pathnames matching an \*r suffix denote \*r files;
46 all others denote working files.
48 The number of the revision to which the working file is compared
49 may be attached to any of the options
55 If no revision number is specified, then if the
57 option is given and the caller has one revision locked,
59 uses that revision; otherwise
61 uses the latest revision on the default branch, normally the root.
69 which prints out the differences,
73 normally reverts to the previous revision
74 if a file was not changed.
80 style keyword substitution when retrieving the revision for comparison.
86 Do not actually remove any files or unlock any revisions.
87 Using this option will tell you what
89 would do without actually doing it.
92 Do not log the actions taken on standard output.
95 This option has no effect other than specifying the revision for comparison.
98 Preserve the modification time on the \*r file
99 even if the \*r file changes because a lock is removed.
100 This option can suppress extensive recompilation caused by a
102 dependency of some other copy of the working file on the \*r file.
103 Use this option with care; it can suppress recompilation even when it is needed,
104 i.e. when the lock removal
105 would mean a change to keyword strings in the other working file.
108 Unlock the revision if it is locked and no difference is found.
111 Print \*r's version number.
123 to characterize \*r files.
131 as the time zone for keyword substitution;
143 removes all working files ending in
147 that were not changed
148 since their checkout.
156 removes all working files in the current directory
157 that were not changed since their checkout.
160 accesses files much as
166 options prepended to the argument list, separated by spaces.
167 A backslash escapes spaces within an option.
170 options are prepended to the argument lists of most \*r commands.
180 The exit status is zero if and only if all operations were successful.
181 Missing working files and \*r files are silently ignored.
183 Author: Walter F. Tichy.
185 Manual Page Revision: \*(Rv; Release Date: \*(Dt.
187 Copyright \(co 1982, 1988, 1989 Walter F. Tichy.
189 Copyright \(co 1990, 1991, 1992, 1993 Paul Eggert.
191 ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1),
195 \*r\*-A System for Version Control,
196 .I "Software\*-Practice & Experience"
198 7 (July 1985), 637-654.
202 must be given in older Unix versions that
203 do not provide the needed directory scanning operations.