Oh uh, here is the script... :$
#!/bin/sh

for i in `ls`
do
        echo "======================================================";
        echo "Checking references to $i";
        echo "======================================================";
        grep -r $i * >/dev/null;
        if [ $? == 0 ]; 
        then 
                echo " References Found\n";
        else 
                echo " No References Found\n";
        fi;
done

-- 
Nathanael D. Noblet
Gnat Solutions
4604 Monterey Ave NW
Calgary, AB
T3B 5K4

T/F 403.288.5360
C 403.809.5368

http://www.gnat.ca/


Reply via email to