bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] tests/syslogd.sh and /tmp


From: Simon Josefsson
Subject: Re: [bug-inetutils] tests/syslogd.sh and /tmp
Date: Thu, 19 Jan 2012 10:34:15 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

Mats Erik Andersson <address@hidden> writes:

> 1. Replace $(( )) by `expr `.

There is a trick in the autoconf manual to detect whether $(( )) works
and use it.  But maybe it is simpler and more readable to just use expr
instead, it is a well known shell programming idiom.

> 2. logger(1) needs a rooted path "/this/starts/at/the/bottom".
>    This rules out the "cd"-technique as viable work around.

Why is this? I'm assuming it is because the --host flag is overloaded to
also support Unix sockets.  However, perhaps a better solution would be
to implement the -u socket that my BSD logger tool uses for logging to a
Unix socket.  Then the --host flag would be entirely dedicated to
hostnames.  There would also be better compatibility with existing
'logger' on many people's systems.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]