#!/bin/sh # # drft06rr_box - make a DRFT06RR box web page (drft06rr.box?.html) # # This script creates a drft06rr.box?.html file (? = A-G) pointed to by index.html # It doesn't care if any of the files and images it links to are not there yet. # # Paul Wessel, 13-NOV-2001 # H=drft06rr SMTLIS=drft06rr_smts.lis #--------------------------- mkdir -p $H cd $H mkdir -p boxes date=`date` # # Makes the html files for a single box box=$1 cat << EOF > boxes/$H.box$box.html
EOF if [ -f ../$SMTLIS ]; then nsmts=`grep -v '^#' ../$SMTLIS | grep $box | wc -l` else nsmts=0 fi if [ $nsmts -gt 0 ]; then cat << EOF >> boxes/$H.box$box.html
Return to Drift Expedition Leg 6 home page