UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 17.2 Basic OperationChapter 17
The SCCS Utility
Next: 17.4 Data Keywords
 

17.3 Identification Keywords

The keywords below may be used in an SCCS file. A get command will expand these keywords to the value described.

%A%

Shorthand for providing what strings for program files; %A% = %Z%%Y% %M% %I%%Z%

%B%Branch number.
%C%Current line number, intended for identifying where error occurred.
%D%Current date (YY/MM/DD).
%E%Date newest applied delta was created (YY/MM/DD).
%F%SCCS file name.
%G%Date newest applied delta was created (MM/DD/YY).
%H%Current date (MM/DD/YY).
%I%sid of the retrieved text (%R%.%L%.%B%.%S%).
%L%Level number.
%M%Module name (filename without .s prefix).
%P%Fully qualified SCCS file name.
%Q%Value of string, as defined by admin -fqstring.
%R%Release number.
%S%Sequence number.
%T%Current time (HH:MM:SS).
%U%Time newest applied delta was created (HH:MM:SS).
%W%

Another shorthand like %A%; %W% = %Z%%M% tab %I%

%Y%Module type, as defined by admin -fttype.
%Z%String recognized by what; that is, @(#).


Previous: 17.2 Basic OperationUNIX in a Nutshell: System V EditionNext: 17.4 Data Keywords
17.2 Basic OperationBook Index17.4 Data Keywords

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System