I am having a file :
[email protected]
[email protected]
[email protected]
//[email protected]
//[email protected]
//[email protected]
[email protected]
[email protected]
[email protected]
I want to write a script which parse the file and for the first occurrence of say abc@gmail it should remain as it is and for other occurrence if "//" found then ok otherwise add "//" at the starting of all other occurrence.