mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
5bc2f642a7
1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu> * autolock.sh: Removed. * manual/move-if-change: Removed. * scripts: new directory. * =__ify: moved to scripts. * config.guess: Likewise. * config.sub: Likewise. * gen-FAQ.pl: Likewise. * install-sh: Likewise. * mkinstalldirs: Likewise. * move-if-change: Likewise. * printsources: Likewise. * rellns.sh: Likewise. * test-installation.pl: Likewise. * configure.in: Look in scripts for config.guess, config.sub, install-sh. * Makefile: Distribute all above files in their new home. Find gen-FAQ.pl and test-installation.pl in scripts. * manual/Makefile: Find mkinstalldirs and move-if-change in $(..)scripts. Drop them from distribute. Minor cleanups. * Makerules: Find mkinstalldirs and rellns-sh in scripts. * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts. * timezone/Makefile: Find rellns-sh in scripts.
13 lines
310 B
Plaintext
Executable File
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
|