summaryrefslogtreecommitdiff
path: root/bin/Array_Helper
blob: 6ffce3b799e5c44a5b7b2ad6d415e1dc8fe71c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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