how to compare two files , if same colum then replace , using awk or sed : Two files,
f1:

    1 aaa 123
    2 bbb 555
    3 ccc 666

f2:

    1 aaa 444
    2 ddd 666
    3 eee 777

When f2 have same as f1 like aaa value, then the r1c3 of f2 replace by r1c3 of f1 , using awk.

output:

    1 aaa 123
    2 ddd 666
    3 eee 777

Thanks
