awk

常见用法:

[root@localhost ~]$ awk '{$NF=""; print > "1.txt"}' 1.txt    # 删除文件最后一列

    

原文地址:https://www.cnblogs.com/pzk7788/p/10429542.html