Can you please e开发者_StackOverflow中文版xplain what is the meaning of each key in the following declaration
#pragma ident "%Z% %M% v%I% (c) GEMS %G%"
I am using Clearcase Revision Control System
Pragmas are compiler dependent stuff. This one looks specific to Sun Studio's compiler. From the documentation:
Use ident to place string in the .comment section of the executable.
This would mean the executable will contain a string after suitable transformation of the variables (i.e. %Z%
etc).
These are key words used by the UNIX SCCS source control system. On a UNIX system run man sccs-get
and it will tell you what all the keywords mean. When you check a file in with sccs delget
it will replace the keywords with strings. %Z%
get replaced with @{#}
which the what
program uses to display information from an executable. See man what
.
精彩评论