编写Linux Shell时需要注意空格 do #echo $afile;if [ -f "$afile" ];then wordnum = `cat $afile|grep html|wc -l`;then echo $afile;then echo $afile; ifelif 2011-04-15 16:49:42