#!/bin/sh # formval.cgi # franklin@uci.edu update of http://hoohoo.ncsa.uiuc.edu/cgi/test-cgi.txt # echoes STDIN echo Content-type: text/plain echo echo CGI/1.1 test script report: echo echo "---- Start of STDIN ----" while read x do echo $x done echo $x unset x echo "---- End of STDIN ----" echo echo argc=$#. argv="$*". echo "--- Start of full output from 'set' ---" set echo "---- End of full output from 'set' ----"