home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
317a.lha
/
RCS
/
doc
/
rcsclean.1l.doc
< prev
next >
Wrap
Text File
|
1989-12-05
|
2KB
|
133 lines
RCSCLEAN(1L) UNKNOWN SECTION OF THE MANUAL RCSCLEAN(1L)
NAME
rcsclean - clean up working files
SYNOPSIS
rcsclean [ -r_r_e_v ] [ -q_r_e_v ] file...
DESCRIPTION
_R_c_s_c_l_e_a_n removes working files that were checked out and
never modified. For each file given, _r_c_s_c_l_e_a_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 by the caller, unlocks the revi-
sion.
A file name ending in ',v' is an RCS file name, otherwise a
working file name. _R_c_s_c_l_e_a_n derives the working file name
from the RCS file name and vice versa, as explained in
_c_o(1L). Pairs consisting of both an RCS and a working file
name may also be specified.
_R_e_v specifies with which revision the working file is com-
pared. If _r_e_v is omitted, _r_c_s_c_l_e_a_n compares the working
file with the latest revision on the default branch (nor-
mally the highest branch on the trunk). The option -q
suppresses diagnostics.
_R_c_s_c_l_e_a_n is useful for "clean" targets in Makefiles. Note
that _r_c_s_d_i_f_f(1L) prints out the differences. Also, _c_i(1L)
normally asks whether to check in a file if it was not
changed.
EXAMPLES
The command
rcsclean *.c *.h
removes all working files ending in ".c" or ".h" that were
not changed since their checkout.
DIAGNOSTICS
The exit status is 0 if there were no differences during the
last comparison or if the last working file did not exist, 1
if there were differences, and 2 if there were errors.
IDENTIFICATION
Author: Walter F. Tichy, Purdue University, West Lafayette,
IN, 47907.
Revision Number: 1.2 ; Release Date: 89/05/02 .
Copyright c 1982, 1988, 1989 by Walter F. Tichy.
SEE ALSO
co(1L), ci(1L), ident(1L), rcs(1L), rcsdiff(1L),
Purdue University Last change: 1
RCSCLEAN(1L) UNKNOWN SECTION OF THE MANUAL RCSCLEAN(1L)
rcsintro(1L), rcsmerge(1L), rlog(1L), rcsfile(5L).
Purdue University Last change: 2