#!/bin/sh CAL=`which cal` echo Content-type: text/html echo if [ -x $CAL ]; then if [ $# = 0 ]; then cat << EOM Calendar

Calendar

To look up a calendar month, type the month followed by a space then the year.

Example: 3 1993 would give the calendar for March 1993. EOM else ARGS=`/usr/local/etc/httpd/support/unescape -e $*` echo \ $CAL $ARGS fi else echo Cannot find cal on this system. fi