repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update from main archive 961217
[glibc.git]
/
=__ify
blob
017d909a1a8223fb7d782ecfbca919762d26e5d7
1
for func in $*; do
2
for file in `find sysdeps -name "${func}.c"`;
3
do
4
script=/tmp/foo$$;
5
( echo "%s/${func}/__&/g";
6
echo x )>$script ;
7
ex $file <$script ;
8
newfile=`echo $file | sed "s/${func}/__&/"`;
9
mv $file $newfile;
10
echo $newfile;
11
done
12
done