changeset 0 | 4f2f89ce4247 |
-1:000000000000 | 0:4f2f89ce4247 |
---|---|
1 #!/bin/sh |
|
2 |
|
3 FILE_EXTENSIONS_TO_SEARCH="cpp h m mm" |
|
4 |
|
5 for framework in $*; do |
|
6 echo -e "\n$framework\n==================" |
|
7 for ext in ${FILE_EXTENSIONS_TO_SEARCH}; do |
|
8 find . -name "*.$ext" -exec grep $framework {} ';' | grep '\(include\|import\)' | sed -e 's|.*/\(.*\.h\).*|\1|' |
|
9 done | sort | uniq |
|
10 done |