#!/bin/sh
-# This scipt is in the public domain.
-# grepsrc.sh string --- greps for string over all java files
+# This script is in the public domain.
+# grepsrc.sh string --- greps for string over all header files
find . -name "*.h" -print | grep -v "#" | xargs grep "$@"
#!/bin/sh
-# This scipt is in the public domain.
+# This script is in the public domain.
# grepsrc.sh string --- greps for string over all C files
find . -name "*.c" -print | grep -v "#" | xargs grep -n "$*"
#!/bin/sh
-# This scipt is in the public domain.
+# This script is in the public domain.
find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in
grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in
#!/bin/sh
-# This scipt is in the public domain.
+# This script is in the public domain.
for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` `find * -name "*.conf"` `find * -name "*.conf.in"`
do
cat $n | sed -e "s/$1/$2/g" > $n.new