shell 往文件中添加一列一样的字符串

例如:往文件file.txt中,添加一列字符串"20161020", 用制表符分割

awk '$0=$0"	20161020"' file.txt
原文地址:https://www.cnblogs.com/lasclocker/p/5981597.html