#!/bin/sh
WHOIS=`which whois`
echo Content-type: text/html
echo
if [ -x $WHOIS ]; then
if [ $# = 0 ]; then
cat << EOM
X.500 Whois Gateway
X.500 Whois Gateway
This system uses a last name, email address, or
USERID to look up information about individuals at Auburn
University. If an exact match is not found, a list of people with
their USERID, full name, and email address (if appropriate) will be
displayed. Student USERIDS will be in parentheses. Scan the list,
take note of the USERID shown in the left-most column, and try
another search using the USERID as the search string.
Note--Your browser must support forms for this feature to work
(Please be patient, this can take awhile...)
Return to AU Home Page
EOM
else
echo \
$WHOIS -h ducserv1.duc.auburn.edu "$*"
fi
else
echo Cannot find whois on this system.
fi