#! /bin/ksh

pattern="$1"
shift
for i in ${*-*}
do
	x=`sssearch "$pattern" $i`
	if test "$x"
	then
		echo $i
	fi
done
