#!/bin/csh -f
# step count

if ($#argv == 0) then
	echo "usage: $0 name list"
	exit 1
endif

while ($#argv)
	if (-d $argv[1]) then
		echo "$argv[1] is directory, skipped."
	else
		echo " "
		echo "--- $argv[1] ---"
		stepcnt < $argv[1]
	endif
	shift
end
