
#
# Dir   : boot                  Author : Vincent Hayward
# File  : dl                             School of Electrical Engineering
# Remarks :                              Purdue University
# Down Loading Procedure
# search the directories in 'D' for the file to down load
# if no argument is given, downloads @.out

D=". ~rccl/s"

case $# in
	0) OUT=@.out ;;
	1) OUT=$1 ;;
esac

for C in $D
do
	if test -f $C/$OUT
	then
		echo downloading : $C/$OUT
		echo flip switch to download
		sleep 3
		boot $C/$OUT
	       exit
	fi
done
echo 'usage : dl [filename (if @.out does not exist)]'
