By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,848 Members | 1,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,848 IT Pros & Developers. It's quick & easy.

perl-find clearcase old view list

P: 1
hai,
i'm working clearcase unix side, here i try to find the old view list,pls help me for complete this program:


Expand|Select|Wrap|Line Numbers
  1. chomp(@view="cleartool lsview -s | grep $name");
  2. system(@view);
  3. foreach $viewtag(@view)
  4. {
  5. printf("Processing $viewtag: ");
  6. chomp(@properties ="cleartool lsview -properties -full $viewtag");
  7. system(@properties);
  8. foreach $property (@properties)
  9. {
  10. $accessed_line = $property if ( $property =~ /^Last accessed / );
  11. $owner_line = $property if ( $property =~ /^Owner: / );
  12. }
Mar 3 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.