Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   get.1p    ( 1 )

получить версию файла SCCS (РАЗРАБОТКА) (get a version of an SCCS file (DEVELOPMENT))

Расширенное описание (Extended description)

┌────────────────────────────────────────────────────────────────────────────┐
 │                Determination of SCCS Identification String                 │
 ├────────────────────────────────────────────────────────────────────────────┤
 │  SID*      -b Keyletter          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 R does     hR.mL**     hR.mL.(mB+1).1 │
 │                           not exist                                        │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R                -         Trunk successor in    R.mL        R.mL.(mB+1).1  │
 │                           release > R and R                                │
 │                           exists                                           │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L              no        No trunk successor    R.L         R.(L+1)        │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L             yes        No trunk successor    R.L         R.L.(mB+1).1   │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L              -         Trunk successor in    R.L         R.L.(mB+1).1   │
 │                           release ≥ R                                      │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L.B            no        No branch successor   R.L.B.mS    R.L.B.(mS+1)   │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L.B           yes        No branch successor   R.L.B.mS    R.L.(mB+1).1   │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L.B.S          no        No branch successor   R.L.B.S     R.L.B.(S+1)    │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L.B.S         yes        No branch successor   R.L.B.S     R.L.(mB+1).1   │
 ├────────────────────────────────────────────────────────────────────────────┤
 │R.L.B.S          -         Branch successor      R.L.B.S     R.L.(mB+1).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 maximum
               level number within release R''; R.L.(mB+1).1 means ``the
               first sequence number on the new branch (that is, 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 shall 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.

† The -b option is effective only if the b flag 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.

System Date and Time When a g-file is generated, the creation time of deltas in the SCCS file may be taken into account. If any of these times are apparently in the future, the behavior is unspecified.

Identification Keywords Identifying information shall be inserted into the text retrieved from the SCCS file by replacing identification keywords with their value wherever they occur. The following keywords may be used in the text stored in an SCCS file:

%M% Module name: either the value of the m flag in the file, or if absent, the name of the SCCS file with the leading s. removed.

%I% SCCS identification (SID) (%R%.%L% or %R%.%L%.%B%.%S%) of the retrieved text.

%R% Release.

%L% Level.

%B% Branch.

%S% Sequence.

%D% Current date (YY/MM/DD).

%H% Current date (MM/DD/YY).

%T% Current time (HH:MM:SS).

%E% Date newest applied delta was created (YY/MM/DD).

%G% Date newest applied delta was created (MM/DD/YY).

%U% Time newest applied delta was created (HH:MM:SS).

%Y% Module type: value of the t flag in the SCCS file.

%F% SCCS filename.

%P% SCCS absolute pathname.

%Q% The value of the q flag in the file.

%C% Current line number. This keyword is intended for identifying messages output by the program, such as ``this should not have happened'' type errors. It is not intended to be used on every line to provide sequence numbers.

%Z% The four-character string "@(#)" recognizable by what.

%W% A shorthand notation for constructing what strings:

%W%=%Z%%M%<tab>%I%

%A% Another shorthand notation for constructing what strings:

%A%=%Z%%Y%%M%%I%%Z%