comb(1) CLIX comb(1)
NAME
comb - Combines SCCS deltas to reconstruct SCCS files
SYNOPSIS
comb files
DESCRIPTION
The comb command generates a shell procedure (see sh) which, when run,
will reconstruct the given SCCS files. The reconstructed files will,
hopefully, be smaller than the original files. The arguments may be
specified in any order, but all flag arguments apply to all named SCCS
files. If a directory is named, comb behaves as though each file in the
directory were specified as a named file, except that non-SCCS files (last
component of the pathname does not begin with s.) and unreadable files are
silently ignored. If a name of - is given, stdin is read; each line of
the input is taken to be the name of an SCCS file to be processed; non-
SCCS files and unreadable files are silently ignored. The generated shell
procedure is written on stdout.
The flag arguments are as follows. Each is explained as though only one
named file is to be processed, but the effects of any flag argument apply
independently to each named file. For each get -e generated, this
argument causes the reconstructed file to be accessed at the release of
the delta to be created, otherwise the reconstructed file would be
accessed at the most recent ancestor. Use of the -o flag may decrease the
size of the reconstructed SCCS file. It may also alter the shape of the
delta tree of the original file. This argument causes comb to generate a
shell procedure which, when run, will produce a report giving, for each
file: the filename, size (in blocks) after combining, original size (also
in blocks), and percentage change computed by:
100*(original-combined)/original
It is recommended that before any SCCS files are actually combined, one
should use this flag to determine exactly how much space is saved by the
combining process. The SCCS identification string (SID) of the oldest
delta to be preserved. All older deltas are discarded in the
reconstructed file. A list (see get for the syntax of a list) of deltas
to be preserved. All other deltas are discarded.
If no flag arguments are specified, comb will preserve only leaf deltas
and the minimal number of ancestors needed to preserve the tree.
FILES
s.COMB The name of the reconstructed SCCS file.
comb?????
2/94 - Intergraph Corporation 1
comb(1) CLIX comb(1)
Temporary file
NOTES
The comb command may rearrange the shape of the tree of deltas. It may
not save any space; in fact, it is possible for the reconstructed file to
actually be larger than the original.
DIAGNOSTICS
Use help for explanations.
RELATED INFORMATION
Commands: admin(1), delta(1), get(1), help(1)
Files: sccsfile(4)
2 Intergraph Corporation - 2/94