#       @(#)admerr      1.2     /sccs/src/cmd/sadmin/shell/s.admerr
#       Issue a standard error message for an administrative command.

#!      chmod +x ${file}

if [ $# -lt 2 ]
then
       echo >&2 "Usage:  $0 command-name message ..."
       exit 1
fi

case $0 in
*/admerr | admerr )
       type='ADMINISTRATIVE COMMAND'
       ;;
* )
       type=SOFTWARE
esac

cmd=$1
shift
exec /bin/echo >&2 "
UNIX ${type} ERROR:     Call Repair.
       ${cmd}:  $*\\n"