#!/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 "" if [ x"$SEARCH" = x ] then echo Please supply a search string, reference or SUBJECT below else spoof=dick echo Query is "$QUERY_STRING", search for "$SEARCH"|mailx -s lookup $spoof@csci.csusb.edu echo "

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

" 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 "
Also please see
More of my research" echo "and Beebe's index by word of journals etc. covered by the TeX User Group." echo '

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 "Input a regular expression:" echo "

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

Search for a known item

" echo "If you know the name of the periodical where the paper should be." echo "visit Beebe's Index of Periodicals covered by the TeX User Group." echo "
" echo "If you know the name of the item in my bibliography," echo "input a name of Item or a Subject(lists of these below):" echo "
" echo "" echo "
" echo "
" echo "This is" echo "a prototype for a Java-based system being" echo "developed as a graduate project in the Computer Science Dept at CSUSB." echo ""