#!/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 or USERID to look up information about
individuals at Auburn University. If an exact match is not found, a
list of people with their e-mail ID, Full Name, and Job Title (if
appropriate) will be displayed. Scan the list, take note of the
e-mail ID shown in the left-most column, and try another search using
the ID.
If you know the person's first and last name, then you might want to
try using the
Full Name search facility.
This is a gateway to the X.500 Directory Services. Use a userid,
e-mail address, or last name as your 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 old_ducserv.duc.auburn.edu "$*"
fi
else
echo Cannot find whois on this system.
fi