Mats Erik Andersson <[email protected]> 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
