/misc/acronym.cgi

#!/bin/zsh

echo Content-Type: text/plain
echo 

WORD=$(echo ${PATH_INFO#/} | tr {A-Z} {a-z})
echo $(
   for ((i=1; i<(($#WORD + 1)); i++))
   do egrep ^$WORD[$i] swords.txt | tr {a-z} {A-Z} | ../code/randline.py
   done
)