you will love it, it rephrases whatever you tell it ti
http://kraftek.com/cgi-bin/rephrase/index.sh
#!/bin/bash
echo “Content-type: text/html”
echo “”
echo “<html><body bgcolor=white><font size=-1>”
QUERY=`echo “$QUERY_STRING” | sed -n ‘s/^.*query=([^&]*).*$/1/p’ | sed “s/%20/ /g;s/ //g”`
QUERY=`echo $QUERY|sed ‘s/+/ /g’`
wget=/usr/bin/wget
thesaurize(){
l=`echo $1|wc -c`
if [ $l -le 5 ];then
echo $1
else
S=`$wget -nv -O – http://thesaurus.reference.com/search?q=”$1″ 2>&1|sed ‘s/>/>n/g;/^<script/,/</script>/d;/^<style/,/</style>/d;/^<form/,/</form>/d;s/<[^>]*>//g;s/,/,n/g’|sed -e ‘1,/Main Entry/d’ -e ‘/Antonyms/,$d;s/^[ t]*//;1,/Synonyms/d’ -e ‘/Antonyms/,$d’| sed ‘s/,//g’|egrep -v ‘^Part of Speech|^Main Entry|^Synonyms|^Antonyms|^Definition|*’|grep .|head -10|shuf -n 1`
SL=`echo $S|wc -c`
if [ $SL -gt 1 ];then
echo $S
else
echo $1
fi
fi
}
cat <<EOF
<style type=”text/css”>
form {
margin: 0px;
}
</style>
<form action=index.sh method=get>
Regurgitate: <input type=text size=80 name=query>
<input type=submit value=search>
</form><br><br>
EOF
echo “<b>Original:</b><br> $QUERY<br><br>”
echo “<b>Re-interpreted:</b><br>”
for i in 1 2 3 4 5;do
for word in $QUERY;do
echo -n “`thesaurize $word` “
done
echo “<br>”
done
echo “</body></html>”