使用道具 举报
Post by tingxx 用awk可以的 awkfile如下 BEGIN{FS=","} { a=$1; getline<"file2"; print $1,a } awk -f awkfile file1,就可以将file1里面的第二项和file1的第一项输出 关键就是这个getline 你看我的这篇文章, http://tingxxcn.blogspot.com/2006/11/gnuplotmeep.html
本版积分规则 发表回复 回帖后跳转到最后一页