In the file below, I need to leave out lines where the URL field (#6) is a duplicate.
Can't use "sort | uniq" as these are not exactly duplicate lines.
0 04:00 GMT 09:30 Local /indvsl2009/engine/match/430882.html India v Sri Lanka at Kanpur, 2nd Test - day 2
1 23:00 GMT 12:00 Local /nzvpak2009/engine/match/423778.html New Zealand v Pakistan at Dunedin, 1st Test - day 2
0 04:00 GMT 09:30 Local /indvsl2009/engine/match/430882.html India v Sri Lanka at Kanpur, 2nd Test - day 3
1 23:00 GMT 12:00 Local /nzvpak2009/engine/match/423778.html New Zealand v Pakistan at Dunedin, 1st Test - day 3
0 00:00 GMT 10:00 Local /ausvwi09/engine/match/406189.html Australia v West Indies at Brisbane, 1st Test - day 1
The output should be...
0 04:00 GMT 09:30 Local /indvsl2009/engine/match/430882.html India v Sri Lanka at Kanpur, 2nd Test - day 2
1 23:00 GMT 12:00 Local /nzvpak2009/engine/match/423778.html New Zealand v Pakistan at Dunedin, 1st Test - day 2
0 00:00 GMT 10:00 Local /ausvwi09/engine/match/406189.html Australia v West Indies at Brisbane, 1st Test - day 1
Thanks,
AR
Can't use "sort | uniq" as these are not exactly duplicate lines.
0 04:00 GMT 09:30 Local /indvsl2009/engine/match/430882.html India v Sri Lanka at Kanpur, 2nd Test - day 2
1 23:00 GMT 12:00 Local /nzvpak2009/engine/match/423778.html New Zealand v Pakistan at Dunedin, 1st Test - day 2
0 04:00 GMT 09:30 Local /indvsl2009/engine/match/430882.html India v Sri Lanka at Kanpur, 2nd Test - day 3
1 23:00 GMT 12:00 Local /nzvpak2009/engine/match/423778.html New Zealand v Pakistan at Dunedin, 1st Test - day 3
0 00:00 GMT 10:00 Local /ausvwi09/engine/match/406189.html Australia v West Indies at Brisbane, 1st Test - day 1
The output should be...
0 04:00 GMT 09:30 Local /indvsl2009/engine/match/430882.html India v Sri Lanka at Kanpur, 2nd Test - day 2
1 23:00 GMT 12:00 Local /nzvpak2009/engine/match/423778.html New Zealand v Pakistan at Dunedin, 1st Test - day 2
0 00:00 GMT 10:00 Local /ausvwi09/engine/match/406189.html Australia v West Indies at Brisbane, 1st Test - day 1
Thanks,
AR