Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Consolidate 2 file in 1 file

$
0
0
Hi I have to file in with 1 similar colomn.
from both files i want similar values from column1 and col2 from file1 and col2 from file2 in file 3
file1
Code:

colomn 1          colomn2       
8017172R        106126673.58
8017167R        139247928.99
2017917R        176606549.79
3514668R        277370594.03
2068764R        295968115.42
2515401R        420124600.33
7014281R        476346209.48
3012011R        526133734.06
2066522R        571615410.68

file2

Code:

colomn 1        colomn 2
8017172R  1061266735N
2015035R  1091944446N
8017167R  1392479289N
2017917R  1766065498N
6030741R  2052725599N
3514668R  2773705940N
2068764R  2959681154N
6030731R  3047202440N
2515401R  4201246003N
1006497R  4409300829N
6030777R  4435105434N
7014281R  4763462094N

---------- Post updated at 07:01 PM ---------- Previous update was at 06:58 PM ----------

it should be like

Code:

8017172R  106126673.58  1061266735N
8017167R  139247928.99  1392479289N


Viewing all articles
Browse latest Browse all 16232

Trending Articles