- 论坛徽章:
- 0
|
如题,假如A文件如下:
ww ww2
ew wed3
tfg refvr4
...
B文件是这样:
>ww2 edwre3r 223,r4
wwwwwwwwwwwwwwwwwwww
qwwwwww
>eee 324.rt
ewewrrrrrrrrrwr5345356y
>wed3 e23,r545 re4r
w3254ggggggt768888888iuyii
tttt65442dftttttttttttttttttttttt
uuuq1uuuuuufteuuuuuuu
>refvr4 aew:ty5rt
e4r243r3ed6ytyhutiiiiiii0o8098t
rtetgedyhh4weqggggggggggg
iooooooooooooooooooooooty
y5rrrrr
如果A文件第二列的ID和B文件>后的ID一样,则输出>及后面几行,预期得到:
>ww2 edwre3r 223,r4
wwwwwwwwwwwwwwwwwwww
qwwwwww
>wed3 e23,r545 re4r
w3254ggggggt768888888iuyii
tttt65442dftttttttttttttttttttttt
uuuq1uuuuuufteuuuuuuu
>refvr4 aew:ty5rt
e4r243r3ed6ytyhutiiiiiii0o8098t
rtetgedyhh4weqggggggggggg
iooooooooooooooooooooooty
y5rrrrr
求大神支招!
|
|