COMB(1SCCS) COMMAND REFERENCE COMB(1SCCS)
NAME
comb - combine SCCS deltas
SYNOPSIS
comb [ -clist ][ -o ][ -psid ][ -s ] filename...
DESCRIPTION
Comb generates a shell procedure (see sh (1sh)) 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 keyletter 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. If a
name of - (a dash) is given, the standard input is read;
each line of the standard input is taken to be the name of
an SCCS file to be processed.
The generated shell procedure is written on the standard
output.
OPTIONS
Each option is explained as though only one named file is to
be processed, but the effects of any keyletter argument
apply independently to each named file.
If no keyletter arguments are specified, comb will preserve
only leaf deltas and the minimal number of ancestors needed
to preserve the tree.
-clist
A list (see get (1sccs) for the syntax of a list) of
deltas to be preserved. All other deltas are discarded.
-o 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 keyletter may decrease the size of the
reconstructed SCCS file. It may also alter the shape of
the delta tree of the original file.
-pSID
The SCCS identification string (SID) of the oldest delta
to be preserved. All older deltas are discarded in the
reconstructed file.
-s This argument causes comb to generate a shell procedure
which, when run, will produce a report that gives (for
each file): the filename, size (in blocks) after
combining, original size (also in blocks), and percentage
change computed by:
Printed 4/6/89 1
COMB(1SCCS) COMMAND REFERENCE COMB(1SCCS)
%100 * (original - combined) / original
It is recommended that before any SCCS files are actually
combined, one should use this option to determine exactly
how much space is saved by the combining process.
FILES
s.COMB The name of the reconstructed SCCS file
comb????? Temporary
DIAGNOSTICS
Use sccshelp (1sccs) for explanations.
CAVEATS
Comb 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.
Non-SCCS files and unreadable files are silently ignored.
SEE ALSO
admin(1sccs), delta(1sccs), get(1sccs), sccshelp(1sccs),
prs(1sccs), and sccsfile(5sccs).
Printed 4/6/89 2
%%index%%
na:336,78;
sy:414,294;
de:708,896;
op:1604,1691;3703,252;
fi:3955,156;
di:4111,193;
ca:4304,370;
se:4674,331;
%%index%%000000000143