#!/bin/csh # This file mails the bug, typo, and idea files to the following # people: set PPL="<email of those to mail the files to> set DIR=/usr/games/diku/lib set FILES="$DIR/bugs $DIR/ideas $DIR/typos" foreach f ( $FILES ) if ( ! -s $f ) then mail -s "$f" $PPL < $f cp /dev/null $f endif end