I have a textfile containing:
name : id : phone
Ahmed : 1 : 972258522
Ali : 2 : 741852933
Jack : 5 : 741852963
Ahmed : 77 : 85296
mia : 7852 : 8888888
Jack : 77 : 9999999
i want to remove duplicate line that have the same name i need the output as :
Ahmed : 1 : 972258522
Ali : 2 : 741852933
Jack : 5 : 741852963
mia : 7852 : 8888888