#!/bin/sh echo Content-type: text/html echo SEARCH=`echo "$QUERY_STRING"| sed '/search=/s/.*search=\([^&]*\).*/\1/'|/u/faculty/dick/bin/urlunencode` echo "dick/lookup/search=$SEARCH" echo "" echo '[CSUSB] >>' echo ' [CompSci] >>' echo ' [Dick Botting] >>' echo ' [ Bibliography] >>' echo ' Search ' echo '
' if [ x"$SEARCH" = x ] then echo Please supply a search string below. echo 'Click here to see a search for sample.' echo "

" else spoof=dick echo QUERY_STRING="$QUERY_STRING", SEARCH="$SEARCH", "REMOTE_ADDR=$REMOTE_ADDR" HTTP_REFERER="$HTTP_REFERER", lookup|mail -s lookup $spoof@csci.csusb.edu echo "

Items in bibliography containing a string matching \"$SEARCH\"

" echo "

Click on interesting items.

" SEARCH=`echo "$SEARCH"|sed '/^\./!y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` sed '/^\./!y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' < /home/u/faculty/dick/newbib.mth | awk 'BEGIN{n=0} /^\. /{item_name=$0; printed=0;} /'"$SEARCH"'/{if(!printed){n++;print substr(item_name,3); printed=1;}} END{print "

Number found="n;}'| sed '/^

Number found/!s/.*/&<\/A>, . . . /' echo '

Did this help? Send me a comment

' echo '
' echo 'Please delete the comment that does not apply and/or edit in' echo 'any other comment you like in its place:' echo '
' echo '' echo '' echo '
' fi echo "

Search for items containing a matching string

" echo "
" echo "
Search for " echo "" echo "
" echo "Hints:Input a word or phrase." echo "The search is not case sensitive." echo "
Or input a
regular expression:" echo ". is a wild card character, .* a wild card string." echo "Use /&&/ for AND, /||/ for OR." echo "At this time + does not mean AND." echo 'See URL_encoded in comp.html.syntax. to find out why.
' echo "

See a known item

" echo "
" echo "If you know the name of the item in my bibliography," echo "input the name below:" echo "" echo "
" echo "
" echo "

Search a particular periodical

" echo "If you know the name of the periodical where the paper should be" echo "visit Beebe's Index of the Periodicals covered by the TeX User Group." echo "
" echo ""