Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 15:39:24 -0600 (CST)
From:      Scott Pilz <tech@tznet.com>
To:        freebsd-questions@freebsd.org
Subject:   Syslog Piping
Message-ID:  <20021119153526.M30438-100000@mail.tznet.com>

next in thread | raw e-mail | index | archive | help

	In syslog, if you have:

*.*			| /pipe.pl

The output should be piped to pipe.pl - how, in perl, would you go about
capturing this output? I have tried everything I could think of. $1,
ARGV[#], STDIN, while (<>) (which apparently works on linux, I haven't
tried myself), and then some.

	Anybody ever try this?

	Thanks,

	Scott


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021119153526.M30438-100000>