3

I'm using clearcase as version control. Now I have a requirement to update the files which are doesn't having file headers must be properly updated. I am planning to create a simple script to do that. But I wanted to make sense even it's automated headers. So I'd like to the user name of the last user who have created the LATEST version of the particular element (file). How can I query this information using perl?

sarat
  • 10,512
  • 7
  • 43
  • 74
  • 2
    Please consider improving your question. Your question in its current form does not contain enough details. Please read the [FAQ](http://stackoverflow.com/faq) and the [How to Ask](http://stackoverflow.com/questions/how-to-ask) section on ways to improve your question. – JohnP Aug 16 '11 at 12:36
  • 1
    You might find useful info [here](http://stackoverflow.com/q/2273200/725418) – TLP Aug 16 '11 at 12:59

1 Answers1

1

As TLP comments, you first query with a classic cleartool command, then you parse the result through your Perl script.

See fmt_ccase to make the right cleartool describe of that element, displaying only the author name.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250