i am stuck at work rite now with a win-xp machine so i am unable to test it but this is what i think it does:
Code:
for dir in u* # create a list of all dirs that begin with u
do
if [ ! -f $dir/*.cm ] # if u*/*.cm does not exist
then
echo $dir # print out u*
fi
done # go to next u*