1.输出时使用printf2.输出后,利用tr -d ‘n’实现替换换行3.awk ‘BEGIN{ORS=”"}{print $0;}’ //推荐4.awk ‘{printf(“%s”,$0);}’
This entry was posted by 东木 on 2008 年 11 月 26 日 at 下午 9:04, and is filed under Linux. Follow any responses to this post through RSS 2.0.You can leave a response or trackback from your own site.