BASE_DIR=`pwd`

ext_dir ()
{
	for i in *.php; do
		(  echo "************************* File = $i ****************" 
	 	  awk '/\/\* function/,/\*\// {print "'$i' "$0;}' $i 
		) >> $BASE_DIR/function.txt
	done
}
rm -f $BASE_DIR/function.txt

cd ../html

ext_dir
cd $BASE_DIR

cd ../include

ext_dir

	
