#! /bin/bash
words=$(cat /dev/stdin);
for w in $words; do
font=$(ls $(figlet -I2)/*.flf | shuf -n 1$)
figlet -f ${font} ${w};
done;