Mike Frysinger wrote: > Mikel Ward wrote: > > I was unfamiliar with ${!VAR}. As far as I can tell, it's not documented > > in the man page or the info pages. > > either your documentation is out of date (old bash install) or you just > missed > it. it's under Parameter Expansion. > -mike
Ah, I see it. It's in a block of text not using the exclamation point at all. It would be more obvious if it had a paragraph directly below ${parameter} saying something like: ${!name} Indirect expansion. name is expanded to produce the name of a variable to expand.