UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 18.3 Basic OperationChapter 18
The Source Code Control System
Next: 18.5 Data Keywords
 

18.4 Identification Keywords

The following keywords may be used in an SCCS file. A get command expands 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 filename
%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 filename
%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: 18.3 Basic OperationUNIX in a Nutshell: System V EditionNext: 18.5 Data Keywords
18.3 Basic OperationBook Index18.5 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