comb(1) | comb(1) |
NAME
comb - combine SCCS deltas
SYNOPSIS
comb
DESCRIPTION
The comb command generates a shell procedure (see sh(1)) which, when run, reconstructs the given SCCS ®les. The reconstructed ®les are usually smaller than the original ®les. Arguments can be speci®ed in any order, but all options apply to all named SCCS ®les. If a directory is named, comb behaves as though each ®le in the directory were speci®ed as a named ®le, except that
Options
comb recognizes the following options. Each is explained as if only one named ®le is to be processed, but the effects of any option apply independently to each named ®le.
The SCCS IDenti®cation string (SID) of the oldest delta to be preserved. All older del- | |
| tas are discarded in the reconstructed ®le. |
A list of deltas to be preserved (see get(1) for the syntax of a list). All other deltas are | |
| discarded. |
For each get | |
| at the release of the delta to be created, otherwise the reconstructed ®le would be |
| accessed at the most recent ancestor. Use of the |
| the reconstructed SCCS ®le. It can also alter the shape of the delta tree of the original |
| ®le. |
This option causes comb to generate a shell procedure which, when run, produces a | |
| report giving, for each ®le: the ®le name, size (in blocks) after combining, original size |
| (also in blocks), and percentage change computed by: |
| 100 × (original − combined) / original |
| It is recommended that this option be used before any SCCS ®les are actually com- |
| bined to determine exactly how much space is saved by the combining process. |
If no options are speci®ed, comb preserves only leaf deltas and the minimal number of ancestors needed to preserve the tree.
EXTERNAL INFLUENCES
International Code Set Support
Single- and
DIAGNOSTICS
Use sccshelp(1) for explanations.
EXAMPLES
The command:
comb
creates a shell script named save_file, which if executed, creates a new s.document using only the deltas 1.1, 1.3,and 1.6 from the old s.document. The script overwrites the old s.document; thus, it might be wise to copy the original elsewhere. Here is an example of typical technique:
cp s.document s.save
comb
WARNINGS
comb may rearrange the shape of the tree of deltas. Combining ®les may or may not save space; in fact, it is possible for the reconstructed ®le to actually be larger than the original.
− 1 − | Section 1−103 |
c