Linux-awk直接修改原文件

#注意:重定向符号后面的文件名需要加双引号
awk '{print > "file"}' file

 

posted on 2016-12-21 16:33  John_ABC  阅读(9786)  评论(0编辑  收藏  举报

导航