#!/bin/sh
echo $1 >/tmp/querystring
sed s/ISINDEX=//g /tmp/querystring | sed -e 's/+/\.\*/' >/tmp/shortstring
awk -f pubawkprog /tmp/shortstring >/tmp/shortstring2
qs=`cat /tmp/shortstring2`
echo Your search string was \<b\>${qs} \</b\>  >/tmp/queryoutput
# echo  >>/tmp/queryoutput
# echo  >>/tmp/queryoutput
#
/bin/egrep -ihn ${qs} /home/tten/public_html/MRSEC/Publications/* >>/tmp/queryoutput
#  done
