if [ $# != 1 ]; then
	echo "Usage:   cd ${AIFS_SW}/fwo; check.wrappers.ksh <prod_number>"
	echo "Example: cd ${AIFS_SW}/fwo"
	echo "Example: check.wrappers.ksh 60800"
	exit 1
fi

Rs="N V Q T S W D"

prod_number=$1

typeset -L4 first4chars
first4chars=$prod_number
hist_number=${first4chars}1

cd $prod_number

for R in $Rs; do
	cd ID${R}$hist_number
	echo $PWD
	ls *.shtml | wc
	egrep Refresh *.shtml | wc
	echo
	cd ..
done

cd ..
