The fmt_ccase documentation for cleartool
gives this as a formatting option:
%[p]p
Property value: Displays the value of the property specified in square brackets. If multiple values are returned, they are separated by spaces.
However, the page doesn't list the possible values for [p]
as far as I can tell, and I can't find any other reference to this anywhere in the ClearCase documentation.
I would like to use this to format output from lstype
for scripting purposes, to print out properties of a type such as the supertype and type manager. Can anyone point me in the right direction?
Here is sample output for what I'm ultimately trying to do:
foo
superfoo
foo_mgr
where foo
is the type, superfoo
is the supertype of foo
, and foo_mgr
is the type manager for foo
.