projects
/
oweals
/
gnunet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
unwanted commit
[oweals/gnunet.git]
/
bin
/
rename.sh
1
#!/bin/sh
2
for n in `find * -name "*.c"` `find * -name "*.h"`
3
do
4
cat $n | sed -e "s/$1/$2/g" > $n.new
5
mv $n.new $n || echo "Move failed: $n.new to $n"
6
done