# 이 스크립트는 동일한 파일중 하나를 삭제하는 프로그램

until [[ -z $2 ]]
do

 echo comparing... $1 $2
 diff_file=`bdiff $1 $2 | wc -l`

 if [[ $diff_file = 0 ]]; then
   echo 'two files are same. delete old -' $1
   rm $1
 fi

 shift
done


Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-10-13 19:27:24
Processing time 0.0053 sec