projects
/
oweals
/
gnunet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7d5790b41986ae43eefcc8d25ceb604f4a448b79
[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