#!/bin/sh
#
#SYNOPSIS
#   TTcount [dir]..
#
#DESCRIPTION
# Count the <TT> lines in the files in each directory.  This is used to get a
# tune  count  for our current ABC index.  The default directory is the local
# "ndx" directory.
#
#AUTHOR
#  John Chambers <jc@ecf-guest.mit.edu>

if [ $# -lt 1 ];then set ndx; fi
for DIR
do
#	echo DIR=$DIR
	grep '<TT>' $DIR/??.html | egrep -v '<!---->' | wc
done
