原创 How to create a UCM Project VOB(PVOB) in Rational ClearCase?

1. Open VOB Creation Wizard  From one of the following ways: <1>"ClearCase Home Base->VOBs->Create VOB"  <2>"Windows->

原创 Perl 註釋方法

1. 單行註釋: # 註釋內容 2.多行註釋: =pod 註釋內容 =cut 注意: 1. “=”單起一行頂頭寫,否則會報錯 2. pod只是個名字,可以叫podd,或者是podddddddd 3. cut只能是cut,不能是其他的

原创 How to create new view by using cleartool command in Clearcase?

How to create a view by using cleartool command?  ----Basic idea: user mkview 1. Check the parameter of this command f

原创 Clearcase/Git的區別和優缺點

It is never too late to start your own blog. 用了多年GIT,最近在玩CC,轉下這篇被轉了很多遍的文章: Git 是 Linus Torvalds 最近實現的源代碼管理軟件。Git 是

原创 用shell腳本在linux下刪除和替換文件

幾種常用的文件替換用法: 查找並替換文件名: find ./ -name "*.pyc" -exec rename pyc pyc1 {} \; #將後綴爲pyc的文件替換爲後綴pyc1   查找並替換文件裏的內容: grep -rl

原创 Python/Perl/Shell - 註釋-聲明-運行

Something really basic: 開頭: Shell  #!/bin/bash perl:  #!/usr/bin/perl python:  #! usr/bin/python 註釋:perl 單行: #  多行:

原创 python/perl/shell在windows下的安裝

親們想自己本地玩玩腳本麼,下載一個唄: Python: 1.下載: http://www.python.org/download/ 2.設置環境變量 3.檢查是不是安裝好了: 在windows cmd下運行python Perl: 1

原创 C語言知識總結

指針的各種名字,換個馬甲也得認識你啊。。 char * const p; //常量指針,p的值不可以修改  char const * p;//指向常量的指針,指向的常量值不可以改 const char *p; //和char const

原创 查找所有VOB中mastership的狀態

mastership有兩種狀態:disable和enable 如何統計所有VOB的status呢? 來個小破(perl)腳本吧: #!/usr/bin/perl use strict; system("cleartool lsvob >

原创 Python知識總結2

產生隨機數: Import random Random.random()    關於複製函數: Shutil.copyfile() Copy.copy() and copy.deepcopy()   1. copy.copy 淺拷貝 只拷

原创 How to remove the component VOB in Components?

By using command:  cleartool rmcomp Usage: rmcomp [-c comment | -cfile pname | -cq | -cqe | -nc]               [-force

原创 Python小知識總結1

學習python時記錄的一些知識點: Set  #非常有用啊,直接去除重複元素,缺點是輸出結果沒有排序 >>> list = ['c', 'b', 'b', 'b', 'd', 'b', 'c', 'a', 'a'] >

原创 How to integrate LDAP in Perl?

If you try to use LDAP by adding "use Net::LDAP;"in your Perl script by you didn't have LDAP installed, you may probab

原创 How to get all the members in user group by using LDAP in Perl?

About LDAP: LDAP stands for Lightweight Directory Access Protocol. It is usually used to fetch (and sometimes update) d

原创 Examples in using config spec in ClearCase

Just show some examples when using config spec, will have it updated with more examples soon: Checkout the latest on