#! /bin/csh -f
foreach i ($*)
	echo OTV of $i
	otv - <$i | otvplist >di.temp1
	if ($status == 0) then
		mv di.temp1 $i
	else
		echo otv $i failed
	endif
end
rm -f di.temp1
