- 论坛徽章:
- 0
|
求解怎么在file 1中找出在file 1,而不在file 2中的行。file 1和file 2都是tab delimited.
Tab 在这里(方括号里面): 09200623【 】70006210【 】1605【 】NULL【 】Prepaid Maint Contracts【 】N
还没有sort.... (试了几次sort然后comm,comm的时候说没sort,不解。。。。)
网上找了好多命令,试了好多次,比如comm, diff, awk都不行. 不知道怎么搞,求方法。!!!
----------------------------------------------------------------------------------------------------
file 1:
09200622 70006207 1605 NULL Prepaid Maint Contracts N
09200623 70006210 1605 NULL Prepaid Maint Contracts N
09200624 70006213 1605 NULL Prepaid Maint Contracts N
09200625 70006216 1605 NULL Prepaid Maint Contracts N
09200626 70006217 1605 NULL Prepaid Maint Contracts N
09200627 70006218 1605 NULL Prepaid Maint Contracts N
09200628 70006219 1605 NULL Prepaid Maint Contracts N
09200629 70006220 1605 NULL Prepaid Maint Contracts N
09200630 70006221 1605 NULL Prepaid Maint Contracts N
09200631 70006227 1605 NULL Prepaid Maint Contracts N
file 2:
16358030 10500000 1735 3022 Software-Store Y
16358031 10500000 1735 3284 Software-Store Y
16358032 10500000 1735 3285 Software-Store Y
16358033 10500000 1737 226 MIS Software Consult-St Y
16358034 10500000 1737 3019 MIS Software Consult-St Y
16358035 10500000 1737 3022 MIS Software Consult-St Y
16358036 10500000 1737 3284 MIS Software Consult-St Y
16358037 10500000 1737 3285 MIS Software Consult-St Y
16358038 10500000 1738 226 Cap Internal Costs-Stores Y
16358039 10500000 1738 3019 Cap Internal Costs-Stores Y
谢谢 |
|