summaryrefslogtreecommitdiff
path: root/ACE/bin/Array_Helper
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/bin/Array_Helper')
-rwxr-xr-xACE/bin/Array_Helper16
1 files changed, 16 insertions, 0 deletions
diff --git a/ACE/bin/Array_Helper b/ACE/bin/Array_Helper
new file mode 100755
index 00000000000..6ffce3b799e
--- /dev/null
+++ b/ACE/bin/Array_Helper
@@ -0,0 +1,16 @@
+#! /bin/sh
+#
+# $Id$
+#
+
+# Finds all files that instantiate ACE_Array and runs the Array.pl
+# perl script on them, please check $ACE_ROOT/bin/Array.pl for more
+# details.
+
+find $* -type f -a \( -name '*.h' \
+ -o -name '*.i' \
+ -o -name '*.cpp' \) |
+ xargs egrep -l 'template[ \t]*class[ \t]*ACE_Array[ \t]*\<' |
+ xargs perl -pi $ACE_ROOT/bin/Hash_Map_Manager.pl
+
+