#!/bin/ksh
echo "<!DOCTYPE doctype PUBLIC \"\-\/\/w3c//dtd html 4.0 transitional//en\">"
echo "<html>" 
echo "<head>"
echo "<title>$1 Band FFT</title>"
echo "</head>"
echo "<body>"
echo "<h1>$1 Band FFT<br></h1>"
for i in `ls *_$1_*.png`
do
echo "<A HREF="$i"><img src=n"$i">"
done
echo "</body>"
echo "</html>"

