while read line;do echo ${line};done < 1.txt

和多行写法一样,记得每行用;分隔

最后修改:2020 年 03 月 20 日
如果觉得我的文章对你有用,请随意赞赏