Date: Thu, 1 Apr 1999 03:37:24 -0600 From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: Adrian Pavlykevych <pam@polynet.lviv.ua> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: [Q]: Piping from syslogd to program Message-ID: <19990401033724.B11572@futuresouth.com> In-Reply-To: <Pine.BSF.4.02.9904011208120.60872-100000@NetSurfer.lp.lviv.ua>; from Adrian Pavlykevych on Thu, Apr 01, 1999 at 12:33:08PM %2B0300 References: <Pine.BSF.4.02.9904011208120.60872-100000@NetSurfer.lp.lviv.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 01, 1999 at 12:33:08PM +0300, a little birdie told me that Adrian Pavlykevych remarked > Hello everybody! > > Are there any special tricks to be done to have program which is run by > syslogd and piping logs through it? I don't think I have anything to touch on this precise problem, but... > program is perl script in the form of: > > open(LOG, "/dev/stdin") > while(<LOG>) { Why? What's wrong with just while(<STDIN>) { --- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | Matthew Fuller http://www.over-yonder.net/ | * fullermd@futuresouth.com fullermd@over-yonder.net * | UNIX Systems Administrator Specializing in FreeBSD | * FutureSouth Communications ISPHelp ISP Consulting * | "The only reason I'm burning my candle at both ends, | * is because I haven't figured out how to light the * | middle yet" | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990401033724.B11572>