#!/usr/local/bin/bash
rm /tmp/comcast.txt
rm /data/stuff/temp2/index.html
rm -Rf /data/stuff/temp2
mkdir /data/stuff/temp2
for i in {1..3775}
# Simpler and more straightforward than
#+ for i in $(seq 10)
do
echo "$i"
FONTp=`sed $i\!d /usr/ftp/40gig/fonts/filelist.txt`
FONTn=`sed $i\!d /usr/ftp/40gig/fonts/filelist.txt | sed -e 's/.*fonts//g' | sed 's/\///g' | sed 's/.ttf//g'`
gozer -q 50 -t " $1 " -0 -F "$FONTp/30" /data/stuff/temp2/$FONTn.jpg
echo "
" >> /data/stuff/temp2/index.html
echo "$FONTn
" >> /data/stuff/temp2/index.html
done