#!/bin/sh # # drft06rr_photos - Makes html file drft06rr_photos.html # # Paul Wessel, 20-NOV-2001 date=`date` prefix=drft06rr mkdir -p $prefix/photos cat << EOF > $prefix/drft06rr_photos.html
EOF # Need a list of all images, excluding the thumbnail photos starting with thm_* ls $prefix/photos | grep -v '^thm_' > photos.lis # Also need a short awk script to format pictures 8 to a row: cat << EOF > photos.awk { printf "\n", \$1, \$1, \$1, \$1 if ((NR % 8) == 0) printf "
\n" } EOF awk -f photos.awk photos.lis >> $prefix/drft06rr_photos.html cat << EOF >> $prefix/drft06rr_photos.html
Return to Drift Expedition Leg 6 home page