if [ $? -eq 0 ] ; then
echo 1 > whstat
break
fi
#13$#
# fi
#13$#
else
if [ $NUMBER -lt $MAXNUMBER ] ; then
LINE=`wc -l test.logwhile |awk '{print $1}'`
#19^#
if [ $LINE -gt $NUMBER ] ; then
grep fail test.logwhile | wc -l |awk '{print $1}' >fail
grep ok test.logwhile |wc -l |awk '{print $1}' >succok
wc -l test.logwhile |awk '{print $1}' > sum
echo 1 > whstat
break
fi
#19$#
fi
#17$#
fi
#18$#
done
done
fi
#3$# 效果图