Suppose I have this textfile A:
League 1:
a = 123456, b = england
a = 234564, b = brazil
a = 939311, b = germany
...
League 2:
a= 213213, b = italy
...
...
League 500:
a = 74778, b = denmark
...
-----------------------------------------------------
Now, I have another textfile B:
League 1:
trash
trash
trash
a = 123456
a = 234567
a = 939311
...
League 2:
trash
trash
...
a = 312311
a = 987324
...
...
League 500:
trash
trash
...
a = 238483
a = 243234
...
NOW, can someone please help me to convert a list of "a =" in each League from textfile B into a list of corresponding "b ="? Any ideas/ suggestions? Thanks in advance!