I have two partitioned files (see examples below):
File 1
Java RAJ PERL ALEX PYTHON MAurice
(etc.)
File 2
ALEX 3.4 SAM 8.9 PEPPER 9.0
Now, for example, if you say that ALEX is also found in file 2 (it is not necessary that ALEX is found), I should have a third file that looks like this:
PERL ALEX 3.4
The code should check all the values ββin column 2 of file 1 in file2.
Any suggestions for a bash script?
Angelo
source share