記個前天寫的一腳本,有高人指點更好,呵呵

 #!/bin/sh
#delete old file named testreport.txt
rm -f testreport.txt

#run ut script
./../../../tool/glibc_ut
dir=$PWD
echo $dir

#get all c files to gxmtemp(sorted)
find . -name "*.c" >temp
sed -i 's//.////g' temp
sort temp >gxmtemp
rm -f temp

#get svn latest vertion
svn log>gxmlogtemp
sed -n '1,4p' gxmlogtemp>>gxmtemp
rm -f gxmlogtemp

#get the directionary files struction
tree >>gxmtemp

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章