[syslog-ng]help please...

bhartin@straus-frank.com bhartin@straus-frank.com
Thu, 22 Aug 2002 14:37:48 -0500 (CDT)


On Thu, 22 Aug 2002, Keven Belanger wrote:

> 1- I'm looking for a script (perl or other) to scan a file to find unique line (line that are duplicate will be remove)

Under Linux and SCO (my only systems I have at hand), there is a command
called 'uniq'.  Check it's man page for the options to skip the start
fields (timestamp or whatever you wish), and to specify showing only
unique lines.



-- 
Bradley Hartin - bhartin@straus-frank.com
Communications and Network Administrator
Straus-Frank Company