#!/bin/sh # blah blah blah do not forget the comments by punishment of death NAME=`echo $QUERY_STRING | sed -n 's/^.*name=\([^&]*\).*$/\1/p'` OPTION=`echo $QUERY_STRING | sed -n 's/^.*nocase=\([^&]*\).*$/\1/p'` if [ $OPTION ] then PARAM="-i" fi echo "Content-type: text/html" echo echo "" echo "
Enter a name please sucker
" fi echo "You entered $QUERY_STRING
" echo "Name = $NAME
" echo "Option = $OPTION
" echo "" echo ""