How to get unique rows in a file if 2 or more lines start with same word
inputfile.log
-----------------
HSDA_17_VerifyShippingOrderNoInOrderConfirmationTest): Timed out after 90 seconds
HSDA_17_VerifyShippingOrderNoInOrderConfirmationTest): Session not available
HSDA_1_BuyVoice): Session not available 
HSDA_1_BuyVoice): Unable to locate element:
HSDA_9_CreateAccounAndBuyDeviceInCheckoutTest): Timed out after 90 seconds
HSDA_2_BuyMapswithNewUserAtCheckOutTest): Address already in use: connect
HSDA_69_ChangeBillingAddressInNonUSLocaleForAllFieldsTest): Index: 0, Size: 0

output expected
---------------
HSDA_17_VerifyShippingOrderNoInOrderConfirmationTest): Timed out after 90 seconds
HSDA_1_BuyVoice): Session not available 
HSDA_9_CreateAccounAndBuyDeviceInCheckoutTest): Timed out after 90 seconds
HSDA_2_BuyMapswithNewUserAtCheckOutTest): Address already in use: connect
HSDA_69_ChangeBillingAddressInNonUSLocaleForAllFieldsTest): Index: 0, Size: 0

How to get unique rows in a file if 2 or more lines start with same word
===

inputfile.log
-----------------
HSDA_17_VerifyShippingOrderNoInOrderConfirmationTest): Timed out after 90 seconds
HSDA_17_VerifyShippingOrderNoInOrderConfirmationTest): Session not available
HSDA_1_BuyVoice): Session not available 
HSDA_1_BuyVoice): Unable to locate element:
HSDA_9_CreateAccounAndBuyDeviceInCheckoutTest): Timed out after 90 seconds
HSDA_2_BuyMapswithNewUserAtCheckOutTest): Address already in use: connect
HSDA_69_ChangeBillingAddressInNonUSLocaleForAllFieldsTest): Index: 0, Size: 0

output expected
---------------
HSDA_17_VerifyShippingOrderNoInOrderConfirmationTest): Timed out after 90 seconds
HSDA_1_BuyVoice): Session not available 
HSDA_9_CreateAccounAndBuyDeviceInCheckoutTest): Timed out after 90 seconds
HSDA_2_BuyMapswithNewUserAtCheckOutTest): Address already in use: connect
HSDA_69_ChangeBillingAddressInNonUSLocaleForAllFieldsTest): Index: 0, Size: 0
