Dear all,
Assuming that I have two txt files, File 1 has many rows, each row containing many ID which is separated using "/", like this:
30676/30711/30712/30725/58038/58118
58152/58153/64269/64272/64273/64609/64610
30148/30154/30592/30696/30724
....
And File 2, the Column 1 containing may ID which is same from File1, and the Column 2 is another kind of ID, like this:
Column1 Column2
30711 786673
30676 8368
58152 037649
30969 6549
....
And what I want to know is if I could using a script, to get File 1's corresponding ID in Column 2, and output it in the same format like file1?
8368/786673
037649
6549
....
File 1 and File 2 are pretty large, so it is impossible that I do it one by one, I will be pretty appreciated if you know how to achieve this using a script.
Thank you!
Thank you!! it worked for me !
Great, be sure to accept any answers that worked for you and you can optionally upvote them (and any helpful comments).