#!/bin/sh WHOIS=/usr/bin/whois echo Content-type: text/html echo if [ -x $WHOIS ]; then if [ $# = 0 ]; then cat << EOM
For the most reliable results, enter the full domain name and hierarchy desired, such as mydoamin.com
$WHOIS "$*"
echo \
fi
else
echo Cannot find whois on this system.
fi