#!/.bi/sh

if test $# -lt 1
then 
	clear
	echo "
	A sloppy little library dependancy report. What uses this lib?

	USAGE:    supported_by  lib_subname [lib.so...]


	EXAMPLE:   supported_by  ncurses
	"
exit
fi


if ! test -f ./LDDs
then
	clear 
	echo "
	making file ./LDDs, a listing of library dependancies.

	"
	sleep 2
	ldd /.bi/* /.sbi/* > LDDs 2> /dev/null
fi

for l in $*
do
	scan -n3 $l LDDs | scan :
done

#
