2 # ----------------------------------------------------------
3 # find-provides for FreeBSD >= 3.3
4 # ----------------------------------------------------------
5 filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file -L 2>/dev/null | grep "ELF.*shared" | cut -d: -f1)