On Fri, May 06, 2011 at 11:02:32AM -0400, Steven W. Orr wrote: > I wanted to write a routine to print out an array. It just takes the name > of the array as an argument.
Flee in terror. Do not look back. Oh, wait, you want a useful answer? Switch to ksh93 and use nameref. You CANNOT do this sanely in bash.