Hi,
I want to add a word to field 1 of a file separated by space,for example
My file,containing two fields:
apple:fruit:tree
orange:fruit:tree
mango:fruit:tree
brinjal:vegetable:plant
potato:vegetable:root
now I want to add word "family" separated by space to the field 1.
Therefore, the resultant file should look some thing like this
apple family:fruit:tree
orange family:fruit:tree
mango family:fruit:tree
brinjal family:vegetable:plant
potato family:vegetable:root
Any ideas on this would be appreciated.
Thanks,