rcsp - delete versions of a file in a RCS library.
rcsp [options] files
The command rcsp deletes versions of a file placed in a RCS library.
Specifies files which versions should be deleted. A file must be
-q Quiet mode. Diagnostics are not printed.
Delete the versions given by range. A range of the form rev1:rev2
means the versions between rev1 to rev2 on the same branch, :rev
means from the beginning of the branch containing rev up to rev,
and rev: means from version rev to the end of the branch. None of
the outdated versions may have locks.
Select files specified by the suffixes for RCS files. A nonempty
suffix matches any pathname ending in the suffix. An empty suffix
matches any pathname of the form RCS/file or path/RCS/file. The
-x option can specify a list of suffixes separated by /. For
example, -x ,v/ specifies two suffixes: ,v and the empty suffix.
If two or more suffixes are specified, they are tried in order
when looking for an RCS file; the first one that works is used
for that file. If no RCS file is found but an RCS file can be
created, the suffixes are tried in order to determine the new RCS
file's name. The default for suffixes is installation-dependent;
normally it is ,v/ for hosts like Unix that permit commas in file
names, and is empty (i.e. just the empty suffix) for other hosts.
rcsp -r:1.5 file1
deletes all the versions of file1 up to the 1.5 version (not including
the 1.5 version).
rcsp -r1.1:1.5 file1
deletes all versions between 1.1 and 1.5 of file1.
rcsp -rR1_0:R2_0 RCS/*,v
deletes all versions between R1_0 and R2_0 of all files in the RCS
library in the current directory.
Elisabet de Waal