From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- =__ify | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 =__ify (limited to '=__ify') diff --git a/=__ify b/=__ify new file mode 100755 index 0000000..017d909 --- /dev/null +++ b/=__ify @@ -0,0 +1,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 -- cgit v1.1