projects
/
summerhack
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first attempt to build on the octane, nosound for now
[summerhack]
/
tools
/
find_textures
1
#!/bin/sh
2
3
tmpfile=/tmp/find_tex_tmp_file
4
files=`find . -name '*.cpp'`
5
6
cat /dev/null >$tmpfile
7
for i in $files; do
8
grep '".*"' $i | egrep '(jpg|png)' | \
9
sed 's/.*[(,\, ,\t]"//g' | sed 's/"[),\,,].*//g' >>$tmpfile
10
done
11
12
cat $tmpfile | sort | uniq