HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)
g
get(1) get(1)
Table 1. Determination of SCCS Identification String
SID* −−b Option Other SID SID of Delta
Specified Used % Conditions Retrieved to be Created
none %% no R defaults to mR mR.mL mR.(mL+1)
none %% yes R defaults to mR mR.mL mR.mL.(mB+1).1
R no R > mR mR.mL R.1***
R no R = mR mR.mL mR.(mL+1)
R yes R > mR mR.mL mR.mL.(mB+1).1
R yes R = mR mR.mL mR.mL.(mB+1).1
R - R < mR and hR.mL** hR.mL.(mB+1).1
R does not exist
R - Trunk succ.# R.mL R.mL.(mB+1).1
in release > R
and R exists
R.L no No trunk succ. R.L R.(L+1)
R.L yes No trunk succ. R.L R.L.(mB+1).1
R.L - Trunk succ. R.L R.L.(mB+1).1
in release ≥ R
R.L.B no No branch succ. R.L.B.mS R.L.B.(mS+1)
R.L.B yes No branch succ. R.L.B.mS R.L.(mB+1).1
R.L.B.S no No branch succ. R.L.B.S R.L.B.(S+1)
R.L.B.S yes No branch succ. R.L.B.S R.L.(mB+1).1
R.L.B.S - Branch succ. R.L.B.S R.L.(mB+1).1
Notes for Table 1
* "R", "L", "B", and "S" are the "release", "level", "branch", and "sequence" components of the
SID, respectively; "m" means "maximum". Thus, for example, "R.mL" means "the max-
imum level number within release R"; "R.L.(mB+1).1" means "the first sequence number
on the new branch (i.e., maximum branch number plus one) of level L within release R".
Note that if the SID specified is of the form "R.L", "R.L.B", or "R.L.B.S", each of the
specified components must exist.
** "hR" is the highest existing release that is lower than the specified, nonexistent , release
R.
*** This is used to force creation of the first delta in a new release.
# Successor.
% The
-b option is effective only if the b flag (see admin(1)) is present in the file. An entry
of - means "irrelevant".
%% This case applies if the
d (default SID) flag is not present in the file. If the d flag is
present in the file, then the SID obtained from the d flag is interpreted as if it had been
specified on the command line. Thus, one of the other cases in this table applies.
Identification Keywords
Identifying information is inserted into the text retrieved from the SCCS file by replacing identification
keywords with their value wherever they occur. The following keywords can be used in the text stored in
an SCCS file:
Keyword Value
%M% Module name: either the value of the m flag in the file (see admin(1)), or if absent, the
name of the SCCS file with the leading s. removed.
%I% SCCS identification (SID) (%R%.%L%.%B%.%S%) of the retrieved text.
Section 1−−324 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: August 2003