Korn shell Script to combine Two files in one

Hello All , I am new to this Forum,
I am trying to write a script to combine two data files with 1 column in common and others columns are different .
File1

Apple     29
tomatao  4
grapes    25

File2

Apple     fruit
tomatao  veg
grapes    fruit
             other

And what do you want the output to look like?
Combine could mean many different things.

The out put should be in third file as below

Apple      29        Fruit
tomato     4         vegetable
grapes    25       Fruit
                       other

Consider the join command

man join
1 Like