#!/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 "
" ~/bin/i18n-grep -h -i $word dict/ciyu.gb echo '