Article 56J6M need to remove duplicate row from file

need to remove duplicate row from file

by
ghpradeep
from LinuxQuestions.org on (#56J6M)
Hello,

I have below file output. I need to remove duplicate row starting with CIS

each cis setting will come from different server. I

CIS:1.1.2;PASS;CIS:1.1.2;PASS;CIS:1.1.2;PASS
CIS:1.1.3;PASS;CIS:1.1.3;PASS;CIS:1.1.3;PASS
CIS:1.1.4;PASS;CIS:1.1.4;PASS;CIS:1.1.4;PASS
CIS:1.1.5;PASS;CIS:1.1.5;PASS;CIS:1.1.5;PASS
CIS:1.1.6;PASS;CIS:1.1.6;PASS;CIS:1.1.6;PASS

i want output like this

CIS:1.1.2;PASS;PASS;PASS
CIS:1.1.3;PASS;PASS;PASS
CIS:1.1.4;PASS;PASS;PASS
CIS:1.1.5;PASS;PASS;PASS
CIS:1.1.6;PASS;PASS;PASSlatest?d=yIl2AUoC8zA latest?i=FYi54Zr3o0c:B7fXsLbj4c8:F7zBnMy latest?i=FYi54Zr3o0c:B7fXsLbj4c8:V_sGLiP latest?d=qj6IDK7rITs latest?i=FYi54Zr3o0c:B7fXsLbj4c8:gIN9vFwFYi54Zr3o0c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments