Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ comb(1s) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

admin

delta

get

sccshelp

prs

sccsfile



COMB(1s,C)                  AIX Commands Reference                   COMB(1s,C)



-------------------------------------------------------------------------------
comb



PURPOSE

Combines Source Code Control System (SCCS) deltas.

SYNTAX


        +-------------+
comb ---| +---------+ |--- file ---|
        +-| -o      |-+
         ^| -s      ||
         || -p SID  ||
         || -c list ||
         |+---------+|
         +-----------+


Note:  This command does not have MBCS support.

DESCRIPTION

The comb command writes to standard output a shell procedure that can combine
the specified deltas (SIDs) or all deltas into one delta.  You may reduce the
size of your SCCS file by running the resulting procedure on the file.  You can
see how much the file will actually be reduced by running the command with the
-s flag.  If you specify a directory in place of file, the comb command
performs the requested actions on all SCCS files (that is, those with file
names with the s. prefix).  If you specify a - (minus) in place of file, the
comb command reads standard input and interprets each line as the name of an
SCCS file.  The comb command continues to take input until it reads END OF FILE
(Ctrl-D).

If you do not specify any flags, the comb command preserves only leaf deltas
and the minimal number of ancestors needed to preserve the tree (see "delta").

Note:  The comb command may rearrange the shape of the tree deltas.  It may not
       save any space; in fact, it is possible for the reconstructed file to
       actually be larger than the original.

FLAGS

Each flag or group of flags applies independently to each named file.

-c list  Specifies a list of deltas (SIDs) that the shell procedure preserves
         (see the -ilist flag the SID list format on page get-6).  The
         procedure combines all other deltas.




Processed November 8, 1990        COMB(1s,C)                                  1





COMB(1s,C)                  AIX Commands Reference                   COMB(1s,C)



-o       Accesses the reconstructed file at the release of the delta to be
         created for each get -e command generated; otherwise, accesses the
         reconstructed file at the most recent ancestor.  Using 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.

-p SID   Specifies the SID of the oldest delta for the resulting procedure to
         preserve.  All older deltas are combined in the reconstructed file.

-s       Causes the comb command to generate a shell procedure that produces a
         report that for each file gives the file name, size (in blocks) after
         combining, original size (in blocks), and percentage of change
         computed by the formula:

         100 * (original - combined) / original

         You should run the comb command using this flag and run its procedure
         before combining SCCS files in order to judge how much space will
         actually be saved by the combining process.

FILES

s.COMB     The name of the reconstructed SCCS file.
comb*      Temporary files.

RELATED INFORMATION

See the following commands:  "admin,"  "delta,"  "get," "sccshelp," and  "prs."

See the sccsfile file in AIX Operating System Technical Reference.

See the discussion of SCCS in AIX Operating System Programming Tools and
Interfaces.






















Processed November 8, 1990        COMB(1s,C)                                  2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026