1

Script to find duplicate pattern in a file irrespective of case

view story
linux-howto

http://www.unix.com – We have a configuration file in Unix. In that we have entries like below. if it ends with ":", then it is the end of record. We need to find our if there is any duplicate entries like ABCD irrespective of the case. Code: ABCD:\   :conn.retry.stwait=00.00.30:\   :sess.pnode.max=255:\   :sess.snode.max=255:\   :sess.default=1:\   :comm.info=abcd.nam.nsroot.net;1364:\   :pacing.send.count=0: Moderator's Comments: Please use code tags when posti (HowTos)