while read linedo if [ "$line" != "" ] ; then echo $line else echo "empty line" fidone <tmp3.txt 相关文章: