D=`pwd` D=`basename $D` D=`echo $D | sed -e 's/_/ /g' | sed -e 's/-/ /g'` cat << EOF > MI.html $D family photos

$D family photos



All the photos
Names in no particular order
All the family photos EOF ../templates/make_KI.sh