awk 'BEGIN{FS="\n";RS="exit\n"}{print substr($1,8,length($1)-11),$6,$7,$11}' urfile|tr -s ' '
li2002 发表于 2011-05-19 09:54
回复 ywlscpl
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
Sourcing //.profile-E ...
贪睡的小猪 发表于 2011-05-19 17:03
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |