#假设文件名是:fortest.gtf

declare -i fileLines
fileLines=`sed -n '$=' fortest.gtf`
echo $fileLines

#---------------------
linesCount=0
let linesCount=($fileLines/20+1)*2

05-07 14:52