#!/bin/sh echo Content-type: text/html echo #echo Query is "$QUERY_STRING" 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, reference or SUBJECT below else echo "

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

" 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;}' /ftp/pool/u/faculty/dick/ftp/newbib.mth | sed '/^

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


" echo "This is" echo "a very rough prototype for a Java-based system being" echo "developed as a graduate project." echo "

Find Item in Bibliography. " echo "

" echo "Input a name of Item or a Subject(lists of these below):" echo "

" echo "Hints: Input a word! . is a wild card character, .* a wild card string, | is OR.
" echo "" echo "
" echo "

Search for items containing a matching string. " echo "

" echo "Input a regular expression:" echo "

" echo "" echo "
" echo "

List of all" echo "Items by name." echo "

List of all" echo "Subjects." echo "


" echo "More of my research" echo '
' echo '

Comment Form

' echo '
' echo 'Please delete the comment if it does not apply and edit in' echo 'any other comment you like in its place:' echo '
' echo '' echo '
' echo 'Select to send your comment.' echo '
' echo '
' echo ""