#!/bin/sh PATH=$PATH:/usr/local/bin BESEDA=`/var/httpd/htbin/cgiparse -value beseda` BESED=`echo $BESEDA | perl -p -e 's/"c/\350/g; s/"s/\271/g;\ s/"z/\276/g; s/"C/\310/g; s/"S/\251/g; s/"Z/\256/g;'` echo "Content-type: text/html; charset=ISO-8859-2" echo echo "" echo "" echo "Scrabble" echo "

" echo "Scrabble" echo "

" echo "Iskal si besedo: $BESED

" echo "Rezultat iskanja:" echo "

"
grep -E "^$BESED\$" /home/meolic/www/scrabble/mte-sl.words
grep -E "^$BESED\$" /home/meolic/www/scrabble/meolic.lex

echo "
" echo "Če iskana beseda ni izpisana, potem je ni v datotekah mte-sl.words in meolic.lex!" echo "
" echo "

" echo "ISO-8859-2
" echo "Pripombe, vprašanja, manjkajoče besede: " echo "Robert.Meolic@uni-mb.si" echo "" echo ""