#!/bin/bash
grep "^class " * -R --exclude=*.svn* --exclude=*.tmp| grep ".php" | cut --delimiter=" " --fields 1,2 | sed "s/class //" | sed "s/:/\|/"> class.hints

#!/bin/bash
grep -i "^class " * -R --exclude=*.svn* --exclude=*.tmp| grep ".php" | cut --delimiter=" " --fields 1,2 | sed "s/class //" | sed "s/:/\|/"
grep -i "^abstract class " * -R --exclude=*.svn* --exclude=*.tmp| grep ".php" | cut --delimiter=" " --fields 1,3 | sed "s/abstract //" | sed "s/:/\|/"

Add extra line for finding abstract classes.
Add extra line for finding abstract classes.

