#!/bin/sh

# Script for checking all source in a directory to see if they are alive.
# This is useful for a system administrator.  If an advertized server is
# down consistently, please notify the maintainer and the maintainer of the
# directory of servers that the source came from.  (the master directory of
# servers is maintained by brewster@think.com)
# -brewster

if (test $# -ne 1)
then
	echo "usage: $0 <wais-source-directory>"
	echo "  Checks all sources in the directory <wais-source-directory>"
	echo "  to see if they are responding to WAIS requests."	
	exit 1
fi

for s in $1/*.src
do
	 waisq -t -c $1 `basename $s`
done



