#!/bin/sh echo Content-type: text/html echo SEARCH=`echo "$QUERY_STRING"| sed '/search=/s/search=\([^&]*\)/\1/'|/u/faculty/dick/bin/urlunencode` echo "$QUERY_STRING" echo "" if [ x"$SEARCH" = x ] then echo Please supply a search string below or select echo the complete index of the notes for CS320: "Programming Languages" else spoof=dick echo "QUERY_STRING=$QUERY_STRING, SEARCH=$SEARCH"|mail -s lookup320 $spoof@csci.csusb.edu echo "

Items in CS320 dictionary containing a string matching \"$SEARCH\"

" egrep -i -e "$SEARCH" /home/u/faculty/dick/cs320/dictionary.html fi echo "
" echo "To see the complete index of the notes for CS320: Programming Languages:" echo "" echo "[Dictionary]" echo "

" echo "Search for items containing a matching string. " echo "

" echo "Input a regular expression:" echo "

" echo "Hints: Input a word! . is a wild card character, .* a wild card string, | is OR." echo "At this time + does not mean AND. Different browsers treat it differently." echo 'See URL_encoded in comp.html.syntax.
' echo "" echo "
" echo "
" echo '

Send Me a Question or Comment

' echo 'All searches are anonymous so I can not reply to them.
' echo '
' echo 'Please put your EMail Address and your question or comment below.' echo '
' echo '" echo "
" echo "Select to send your message." echo "
" echo "
" echo ""