hi.. i have a file in the following format :-
name-a
age -12
address-123
age-12
phone-22222
name-ab
age -11
address-123
age-11
phone-222223
name-abc
age -12
address-1234
age-12
phone-2222223
now the problem is....I want to remove the duplicate age in each record...
how can I do that considering the age can be same for different records too...
Thanks in advance