Hi there, Forgive me for my little skills in awk. I believe that this could be obvious to some one with good skills in awk. I would like to create a text file C that merges 2 text files A and B with comma seperated values. The task is to look at a given column within the two files and return all the rows from the two files for which the values in that given column are the same. As an illustration, if i have A and B as
A.txt
11, one, two
12, three, four
13, five, six
B.txt
11, un, deux
13, cinq, six
19, quinze, sept
21, quartonze, cinquonze
I would like the file C to contain rows for which the values in the first column of the two files match, i.e C should be
11, one, two
11, un, deux
13, five, six
13, cinq, six
regards,
Nabendz
A.txt
11, one, two
12, three, four
13, five, six
B.txt
11, un, deux
13, cinq, six
19, quinze, sept
21, quartonze, cinquonze
I would like the file C to contain rows for which the values in the first column of the two files match, i.e C should be
11, one, two
11, un, deux
13, five, six
13, cinq, six
regards,
Nabendz