#!/bin/csh
#mail-shar <address>
#mail an existing directory of shar files to <address>
#the 'sleep 20' avoids placing an excessive load on the system

setenv MAILRC ~/isa/mailrc
mail -s 'Distribution information' $1 < DIST-README
foreach i (Part*)
    echo Mailing $i to $1
    mail -s $i $1 < $i
    sleep 20
    end

