#!/bin/csh
if ($#argv != 1) then
	echo "usage: vbd <basename>"
	exit
endif
set S1='+%n===============================%n'
set S2=' started: %d.%h %y %T%n===============================%n'
set S3='finito: %d.%h %T%n===============================%n'
rm -f $1.log

echo \`$0\ $1"' running on "`hostname` > $1.log

date "${S1}chop${S2}" >>$1.log
chop $1 >>$1.log
if ($status != 0) exit

date "${S1}pwkond${S2}" >>$1.log
pwkond $1 >>$1.log
if ($status != 0) exit

date "${S1}mkcycl${S2}" >>$1.log
mkcycl $1 >>$1.log
if ($status != 0) exit

date "${S1}mkinc${S2}" >>$1.log
mkinc $1 >>$1.log
if ($status != 0) exit

date "${S1}mkdotl${S2}" >>$1.log
mkdotl $1 >>$1.log
if ($status != 0) exit

date "${S1}mksub${S2}" >>$1.log
mksub $1 >>$1.log
if ($status != 0) exit

date "${S1}${S3}" >>$1.log

