#!/bin/bash PKG=$1 echo "Finding where $PKG is used..." egrep "(^#DEP:$PKG|^#NEED:$PKG)" `find -name *.SlackBuild` grep "$PKG" buildroot.list ../bootcd/*.list