#假设文件名是:fortest.gtfdeclare -i fileLinesfileLines=`sed -n '$=' fortest.gtf`echo $fileLines#---------------------linesCount=0let linesCount=($fileLines/20+1)*2