例如:往文件file.txt中,添加一列字符串"20161020", 用制表符分割 awk '$0=$0"\t20161020"' file.txt 转载于:https://www.cnblogs.com/lasclocker/p/5981597.html