suse@linux-qmfx:~/program> cat -n sedrm.txt
1 a1
2 b2
3 c3
4 d4suse@linux-qmfx:~/program> cat real.sh
#!/bin/bash
loop=0
while read LINE
do
loop=expr $loop + 1
echo "at line$loop :$LINE"
done < sedrm.txt
echo “++++++++++++the end.total :$loop lines”
suse@linux-qmfx:~/program> sh real.sh
at line1 :a1
at line2 :b2
at line3 :c3
++++++++++++the end.total :3 lines
suse@linux-qmfx:~/program>
为什么最后一行无法输出呢?