summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-16 00:36:54 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-16 00:36:54 +0000
commitf4ad3a1836c8fd4058d104946e0f7b171681492f (patch)
tree79f7f0f15cfb5b517745db996a793585b6afe7c9 /bin
parent68c7de74189da5157336d3e37492b9f37844f5d7 (diff)
downloadATCD-f4ad3a1836c8fd4058d104946e0f7b171681492f.tar.gz
*** empty log message ***
Diffstat (limited to 'bin')
-rwxr-xr-xbin/auto_ptr.perl15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/auto_ptr.perl b/bin/auto_ptr.perl
new file mode 100755
index 00000000000..862db3774f8
--- /dev/null
+++ b/bin/auto_ptr.perl
@@ -0,0 +1,15 @@
+#!/pkg/gnu/bin/perl -pi
+#
+#
+# You may want to run the "find" command with this script, which maybe something like this:
+#
+# find . -type f \( -name "*.i" -o -name "*.h" -o -name "*.C" -o -name "*.cc" -o -name "*.c" -o -name "*.cpp" -o -name "*.hpp" -o -name "*.ipp" \) -print | xargs $ACE_ROOT/bin/auto_ptr.perl
+#
+# And if your perl installation isn't in /pkg/gnu/bin/perl,
+# please make the change accordingly
+#
+#
+s/auto_basic_ptr/ACE_Auto_Basic_Ptr/g;
+s/auto_ptr/ACE_Auto_Ptr/g;
+s/auto_basic_array_ptr/ACE_Auto_Basic_Array_Ptr/g;
+s/auto_array_ptr/ACE_Auto_Array_Ptr/g;