#! /bin/sh #------------------------------------------------------------------------------ # log - log shell commands in syslog # Creation: fm 15.02.2001 # Last Update: $Id$ #------------------------------------------------------------------------------ set -f # Disable file name generation (globbing) if [ -f /usr/bin/logger ] then exec $* 2>&1 | /usr/bin/logger else exec $* fi