#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
# All Rights Reserved
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# spell program
# B_SPELL flags, D_SPELL dictionary, F_SPELL input files, H_SPELL history,
# S_SPELL stop, V_SPELL data for -v
# L_SPELL sed script, I_SPELL -i option to deroff
L_SPELL="/usr/bin/sed -e \"/^[.'].*[.'][ ]*nx[ ]*\/usr\/lib/d\" -e \"/^[.'].*[.'][ ]*so[ ]*\/usr\/lib/d\" -e \"/^[.'][ ]*so[ ]*\/usr\/lib/d\" -e \"/^[.'][ ]*nx[ ]*\/usr\/lib/d\" "
# mktmpdir - Create a private (mode 0700) temporary directory inside of /tmp
# for this process's temporary files. We set up a trap to remove the
# directory on exit (trap 0), and also on SIGHUP, SIGINT, SIGQUIT, and
# SIGTERM.
#
}
# figure out whether or not we can use deroff
then
DEROFF="deroff \$I_SPELL"
else
DEROFF="cat"
fi
# Filter out + arguments that are incorrectly handled by getopts
do
case $A in
EXIT_SPELL="exit 1"
fi ;;
l) L_SPELL="cat" ;;
i) I_SPELL="-i" ;;
exit 1;;
esac
done
for A in $*
do
case $A in
+*) if [ "$FIRSTPLUS" = "+" ]
fi;
then if test ! -r $LOCAL;
fi
fi ;;
if [ -r $A ]; then
else
fi
esac
done
${EXIT_SPELL:-:}
exit 1
fi
eval $DEROFF |\
exit
esac