如果我这样做,请在文本文件中说
grep FINAL *.msg
它返回
FINAL COMPUTATIONS: Elapsed Time: 000:30:55.65; CPU Time: 000:30:26.53
FINAL COMPUTATIONS: Elapsed Time: 000:28:11.77; CPU Time: 000:27:41.36
现在如果我做 for 循环
for line in `grep FINAL *.msg`
"$line"
不认为是"FINAL COMPUTATIONS: Elapsed Time: 000:30:55.65; CPU Time: 000:30:26.53"
单行。
我该如何解决这个问题?