1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-16 17:41:01 +03:00
Files
glibc/=__ify
Roland McGrath 28f540f45b initial import
1995-02-18 01:27:10 +00:00

13 lines
310 B
Plaintext
Executable File

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