MPE/iX Shell and Utilities Reference Manual, Vol 2
rcsclean(1) MPE/iX Shell and Utilities rcsclean(1)
NAME
rcsclean — clean up working files
SYNOPSIS
rcsclean [–Ffile...][–K][–k][–O][–q[rev]] [–r[rev]] [–x][–Yfile] file ...
DESCRIPTION
Note: The
MPE/iX implementation of this utility does not function exactly as this man page
describes. For details, see the MPE/iX NOTES section at the end of this man page.
rcsclean removes working files that were checked out and never modified. For each file
given, rcsclean compares the working file and a revision in the corresponding RCS file. If it
finds no difference, it removes the working file. If the revision was locked by the person who
checked it out, rcsclean also unlocks the revision.
Each file may name either an
RCS file or a working file.
rev specifies a revision to which the working file is compared. If rev is omitted, rcsclean
compares the working file with the latest revision on the default branch (normally the highest
branch on the trunk).
rcsclean is useful to implement clean targets in a Makefile (if you have the
MAKE software
package).
Note: rcsdiff(1) may be used to print out differences. Also, ci(1) normally asks whether
to check in a file if it was not changed.
Options
rcsclean accepts the following options:
–F file provides an alternate way to specify file names. The given file is a text file contain-
ing a list of file names, one file name per line. rcsclean cleans up all the files
named in file, using the options specified on the command line. Multiple –F options
may be specified on the command line, and can either be grouped together or inter-
spersed between options.
–K suppresses keyword expansion and removes all existing expansions. This option
takes precedence over the –k.
–k suppresses keyword expansion, even if KeywordExpand is specified in the confi-
guration file. This is useful for non-readable binary files such as object files. To
ensure that rcsclean works properly, specify this option for any file that was
checked out with the –k option of co.
1-466 Commands and Utilities