Hello, I have the following input file.
Sri Lanka v Pakistan
England v West Indies
Sri Lanka v Pakistan
West Indies A v India A
England v West Indies
West Indies A v India A
England v West Indies
West Indies A v India A
Sri Lanka v Pakistan
England v West Indies
West Indies A v India A
Sri Lanka v Pakistan
Zimbabwe Twenty20 Triangular Series
West Indies A v India A
England v West Indies
Zimbabwe Twenty20 Triangular Series
Sri Lanka v Pakistan
England v West Indies
Zimbabwe Twenty20 Triangular Series
I need to only output unique lines as below.
Sri Lanka v Pakistan
England v West Indies
West Indies A v India A
Zimbabwe Twenty20 Triangular Series
Please note that I cant use "sort | uniq" as the order needs to be maintained.
Thanks
Arun
Sri Lanka v Pakistan
England v West Indies
Sri Lanka v Pakistan
West Indies A v India A
England v West Indies
West Indies A v India A
England v West Indies
West Indies A v India A
Sri Lanka v Pakistan
England v West Indies
West Indies A v India A
Sri Lanka v Pakistan
Zimbabwe Twenty20 Triangular Series
West Indies A v India A
England v West Indies
Zimbabwe Twenty20 Triangular Series
Sri Lanka v Pakistan
England v West Indies
Zimbabwe Twenty20 Triangular Series
I need to only output unique lines as below.
Sri Lanka v Pakistan
England v West Indies
West Indies A v India A
Zimbabwe Twenty20 Triangular Series
Please note that I cant use "sort | uniq" as the order needs to be maintained.
Thanks
Arun