Im working with Ksh shell. In my script i have a variable in it which contains mutiple strings, when i echo it it following out put (using echo $serviceList) xoc.hw.megt.Manager xoc.ssion.ZConionClient xoc.svc.onLifecycle xoc.job.ZSumStateHook xoc.hw.cor.ZBulations xoc.hw.megt.Manager xoc.hw.cor.mmgt.ZMemoro xoc.cot.fdhug
now i have to find is there any string which is repeating if it is repeating then it should give me alert that string is repeated. e.g. In above example xoc.hw.megt.Manager is repeating.
Thank in advance.