#!/bin/sh #word=`echo $QUERY_STRING | sed -e 's/word=//g' -e 's/+/ /g' | perl -pi -e 's/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg'` word=`echo $QUERY_STRING | sed -e 's/word=//g' -e 's/+/ /g'` echo "Content-type: text/html"; echo echo "Poor man's English-Chinese Dictionary" echo '' echo 'back

' echo "Poor man's English-Chinese Dictionary - by Victor Zhang" echo '
' echo '% ' echo '
' echo "Please enter an English word. " echo "
"
~/bin/i18n-grep -h -i $word dict/ciyu.gb
echo '

back'