Fork me on GitHub
摘要: command命令的输出作为read循环的输入,这种结构常用于处理超过一行的输出常见用法有:command | while read linedo …done 举个栗子test目录下面有3个文件 我想输出 aa.txt is a txt file.bb.txt is a txt file.cc.tx 阅读全文
posted @ 2021-09-28 19:29 超级花心大萝卜 阅读(800) 评论(0) 推荐(0)