[plug] perl - removing duplicate line entries in a file

Top Page

Reply to this message
Author: roderick tapang
Date:  
To: The Main Philippine Linux Users' Group (PLUG) Discussion List
Subject: [plug] perl - removing duplicate line entries in a file
how do you remove duplicate line entries in a file
using perl? we have some logfiles that are xferred
to a windows machine (don't ask why) for analysis
and we only have ActivePerl available in it and one
staff needs to have the duplicate lines remove.
i really don't do perl so can anyone give out some
lines of codes for this?

(i posted this in ph-perl but didn't get any response
yet).

tyvm.

erik
--
roderick e. tapang
retapang at gmail dot com

(o_.'       http://counter.li.org/
//\         ----------------------
V_/_        Linux User   #  253842
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug@??? (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph