shell读取文件每一行

#使用read命令读取一行数据
cat datafile.txt | while read myline
do
echo "LINE:"$myline
done

标签: none

添加新评论