rcsp



NAME

      rcsp - delete versions of a file in a RCS library.


SYNOPSIS

      rcsp [options] files


DESCRIPTION

      The command rcsp deletes versions of a file placed in a RCS library.

    PARAMETERS
      files
           Specifies files which versions should be deleted. A file must be
           specified.

    OPTIONS
      -q   Quiet mode. Diagnostics are not printed.

      -rrange
           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.

      -xsuffixes
           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.


EXAMPLES

      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.


SEE ALSO

      rcs(1), rcspurge(1)


AUTHOR

      Elisabet de Waal