On Fri, Nov 21, 2003 at 05:06:49AM +0000, Mike MacCana wrote:
> On Fri, 2003-11-21 at 04:59, Gavin Carr wrote:
> > Yep, misreading the man page. :-) A pipe can be used to send the output
> > to a named pipe/fifo, not direct to an executable. You then can have 
> > a program reading from the fifo and doing whatever you want, of course.
> 
> Hehe. I did actually read that man page on my system, but I had heard
> (or maybe seen) that this could be done directly.
> 
> When I went online, I found:
> http://www.gsp.com/cgi-bin/man.cgi?section=5&topic=syslog.conf
> 
> Which mentions "
> A vertical bar ("|"), followed by a command to pipe the selected
> messages to. The command is passed to sh(1) for evaluation, so usual
> shell metacharacters or input/output redirection can occur."
> 
> Is there another version of syslog also called just plain `syslog'?

I believe at least some of the BSD syslogds support this - your page above
is from FreeBSD, by the looks. The standard Linux version doesn't appear 
to. Depending on what you're trying to do, you might also try syslog-ng,
which definitely does support it. 

Cheers,
Gavin
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to