3 if test "x${1}" = "x"; then
4 echo "Usage: $0 <classname> [<package>]" >&2
11 if test "x${2}" != "x"; then
15 # TODO: skip directory-only matches
16 find .
-name '*.h' -o -name '*.inl' -o -name '*.cpp' \
17 |
grep -wi "${classname}" \
18 |
grep -i "${package}"