Commit 0a96fe5f authored by aroben's avatar aroben

Added a simple shell script to find all the headers from a specified

        framework or frameworks that are included by files beneath the working
        directory.

        * Scripts/find-included-framework-headers: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 41433c9e
2007-04-17 Adam Roben <aroben@apple.com>
Added a simple shell script to find all the headers from a specified
framework or frameworks that are included by files beneath the working
directory.
* Scripts/find-included-framework-headers: Added.
2007-04-16 Timothy Hatcher <timothy@apple.com>
* Drosera/debugger.css: hide the borders for iframes
......
#!/bin/sh
for framework in $*; do
echo -e "\n$framework\n=================="
for ext in cpp h; do
find . -name "*.$ext" -exec grep $framework {} ';' | grep include | sed -e 's|.*/\(.*\.h\).*|\1|'
done | sort | uniq
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment