#! /bin/sh
#
# $Id: Array_Helper 80826 2008-03-04 14:51:23Z wotte $
#

# 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