awk -vOFS="_" '{print $1,$2,$3} http://bbs.chinaunix.net/thread-1099655-1-1.html 转载于:https://www.cnblogs.com/painmoth/p/4999713.html