I have a script which needs to use cleartool lsactivity -fmt command:
$ctoolcmd = "cleartool lsactivity -fmt \"%[headline]p\" $newactivity";
$newheadline = `$ctoolcmd`;
Unfortunately, I am using CCRC and hence it does not support '-fmt' for 'lsactivity' command. Is there any other way I can achieve the same result with rcleartool command?