#!/bin/bash if ! echoc --versioncheck 1.12; then echo "problem ln$LINENO..."; exit 1; fi if [[ `basename \`pwd\`` == "linux-2.6.11.9" ]]; then nTotObj=5560 else echo "problem ln$LINENO..." exit 1 fi while true; do nCount=`find -iname "*.o" |wc -l` nCols=`tput co` nTotPerc=$((nCols-17)) nProgress=$(( (nCount*nTotPerc)/nTotObj )) strProgress="@g" for((n=0;n