#!/bin/sh DATE=`which date` echo Content-type: text/plain echo if [ -x $DATE ]; then $DATE else echo Cannot find date command on this system. fi