#!/bin/sh
#
# Copyright 1999 Sun Microsystems, Inc. All Rights Reserved
#
# @(#)skip.sh	1.1 99/07/23 Sun Microsystems, Inc.
#

PATH="/bin:/usr/sbin"
export PATH

prog=`basename $0`

case $prog in
skip)	prog=$1; shift;;
esac

case $LC_CTYPE in
*.UTF-8)	case $LANG in
		*.UTF-8)	:
				;;
		*.*)		LANG=`expr "$LANG" : '\(.*\)\..*'`.UTF-8
				LC_CTYPE=$LANG
				;;
		*)		LANG=$LANG.UTF-8
				LC_CTYPE=$LANG
				;;
		esac
		;;
esac

export LANG LC_CTYPE
exec /usr/sbin/$prog ${1+"$@"}
