Hello everybody!
i'm new on this forum and i have a problem that has already been solved but that's not clear for me. So I have two files :
FILE1 :
a:4:fdsf:fdze
b:5:greg:fdee
c:1:jyth:gtre
...
FILE2 :
gfegj jyut 5 eazert
gfdg ytyhj 6 area
greatr juyj 1 ytjuy
geqg hyth 4 htrhtr
and I want to find the 2nd field of file1 in file2 (3rd field)and replace the value of the 2nd field of file1 by the value of the 1st field of file2.
and so I want to obtain :
FILE1 :
a:geqg:fdsf:fdze
b:gfegj:greg:fdee
c:greatr:jyth:gtre
I hope it's clear and thanks if you can give me some help.
i'm new on this forum and i have a problem that has already been solved but that's not clear for me. So I have two files :
FILE1 :
a:4:fdsf:fdze
b:5:greg:fdee
c:1:jyth:gtre
...
FILE2 :
gfegj jyut 5 eazert
gfdg ytyhj 6 area
greatr juyj 1 ytjuy
geqg hyth 4 htrhtr
and I want to find the 2nd field of file1 in file2 (3rd field)and replace the value of the 2nd field of file1 by the value of the 1st field of file2.
and so I want to obtain :
FILE1 :
a:geqg:fdsf:fdze
b:gfegj:greg:fdee
c:greatr:jyth:gtre
I hope it's clear and thanks if you can give me some help.