原帖由 ywlscpl 于 2009-6-16 23:02 發(fā)表
第1塊和第3塊內(nèi)容沒(méi)看出有什么實(shí)質(zhì)性的對(duì)應(yīng)關(guān)系,總不會(huì)是憑第一列最后的0、1、2、3、4、5、6這樣對(duì)應(yīng)的吧?
假設(shè)3塊文件分別是file1 file2 file3
[root@mylinux tmp]# awk 'FILENAME=="file3"&&NF{a[M[spl ...
歡迎光臨 Chinaunix (http://www.72891.cn/) | Powered by Discuz! X3.2 |