1#!/bin/sh 2# 3# This script looks to see if a directory contains .h files 4# 5for dir in $@; do 6 for hfile in $dir/*.h; do 7 if [ -f $hfile ]; then echo $dir; fi 8 break 9 done 10done 11exit 0 12