Hi,
I want to get script or command in Sun Unix which matches first fields of both the files and print the feilds of one files, example may make it more clear.
InputFile1
Alex,1,fgh
Menthos,45454,toto
Gothica,855,ee
Zenie4,77,gg
Salvatore,66,oo
Dhin,1234,papapa
Maria,2311,fcfc
InputFile2
Salvatore,pop
Alex,ofgh
Amaan,iiwer
Guulu,ee
Zenie4,gg
Menthos,era
OutputFile
Alex,1,fgh,Alex,ofgh
Menthos,,45454,toto,Menthos,era
Zenie4,77,gg,Zenie4,gg
Salvatore,66,oo,Salvatore,pop
First field of first line is searched in second file as first field, and found so both lines(FIles A and File B) are printed in output.
Thanks in advance.