scripts/services/syslogd
Tom Metro <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
In the file scripts/services/syslogd:
> ##########################################################################
> # $Id: syslogd,v 1.15 2006/08/23 21:37:23 bjorn Exp $
> ##########################################################################
>
...
> while (defined($ThisLine = <STDIN>)) {
> chomp($ThisLine);
...
> else {
> # Report any unmatched entries...
> chomp($ThisLine);
> $OtherList{$ThisLine}++;
The second chomp() is redundant, though harmless.
-Tom
--
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/