netbackup1234
Programmer
Hi
I have two file ..
$ cat ora1
PARSCMG1TDP 1.100
PARSDB01_TDP 2.200
PARSDB02_TDP 1.401
$ cat ora2
PARSCMG1TDP 1.100
PARSDB01_TDP 2.200
PARSDB03_TDP 17.069
Then print third file which will print common entry from 1st column and add up second column like
$cat thirdfile
PARSCMG1TDP 2.200
PARSDB01_TDP 4.400
I have two file ..
$ cat ora1
PARSCMG1TDP 1.100
PARSDB01_TDP 2.200
PARSDB02_TDP 1.401
$ cat ora2
PARSCMG1TDP 1.100
PARSDB01_TDP 2.200
PARSDB03_TDP 17.069
Then print third file which will print common entry from 1st column and add up second column like
$cat thirdfile
PARSCMG1TDP 2.200
PARSDB01_TDP 4.400