blob: 017d909a1a8223fb7d782ecfbca919762d26e5d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
for func in $*; do
for file in `find sysdeps -name "${func}.c"`;
do
script=/tmp/foo$$;
( echo "%s/${func}/__&/g";
echo x )>$script ;
ex $file <$script ;
newfile=`echo $file | sed "s/${func}/__&/"`;
mv $file $newfile;
echo $newfile;
done
done
|