I have two text files, 1.txt, and 2.txt.
1.txt
https://soundcloud.com/track1,artisturi067
https://soundcloud.com/track4,artisturi428
https://soundcloud.com/track72,artisturi023
https://soundcloud.com/track22,artisturi181
2.txt
artisturi181
artisturi428
artisturi172
artisturi096
And I'm looking for a way to compare lines from the 1.txt,2 column with the whole file lines from the 2.txt, resulting in something like this:
3.txt
https://soundcloud.com/track1,artisturi067
https://soundcloud.com/track72,artisturi023
Python, Bash for Windows, or even Powershell would be helpful.