#!/bin/csh -f
foreach year (????) 
	zcat $year/*.Z | egrep -v '(^\$)|(^ *[0-9])' | wc -l > phasecount.$year
end
