projects
/
oweals
/
gnunet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
178b44081fd5f5e6c74e83c4e94dae648729c800
[oweals/gnunet.git]
/
bin
/
rename.sh
1
#!/bin/sh
2
for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.in"`
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